19 lines
490 B
C#
19 lines
490 B
C#
/// <see cref="MyOffice.Data.Models.Accounts.AccountAccountCategory"/>
|
|
namespace MyOffice.Services.Account.Domain;
|
|
|
|
using AutoMapper;
|
|
using MyOffice.Data.Models.Accounts;
|
|
|
|
public class AccountAccountCategoryDto
|
|
{
|
|
public Guid CategoryId { get; set; }
|
|
public AccountCategoryDto? Category { get; set; } = null!;
|
|
}
|
|
|
|
public class AccountAccountCategoryDtoProfile: Profile
|
|
{
|
|
public AccountAccountCategoryDtoProfile()
|
|
{
|
|
CreateMap<AccountAccountCategory, AccountAccountCategoryDto>();
|
|
}
|
|
} |