namespace MyOffice.Services.Account.Domain; using AutoMapper; using MyOffice.Data.Models.Accounts; public class MotionDto { public Guid Id { get; set; } public DateTime CreatedOn { get; set; } public DateTime DateTime { get; set; } public Guid AccountId { get; set; } public AccountDto Account { get; set; } = null!; public int ItemId { get; set; } public ItemDto Item { get; set; } = null!; public string? Description { get; set; } public decimal AmountPlus { get; set; } public decimal AmountMinus { get; set; } public DateTime? DeletedOn { get; set; } } public class MotionDtoProfile: Profile { public MotionDtoProfile() { CreateMap(); } }