24 lines
600 B
C#
24 lines
600 B
C#
namespace MyOffice.Web.Models.Motion;
|
|
|
|
using AutoMapper;
|
|
using MyOffice.Services.Account.Domain;
|
|
|
|
public class MotionRequest
|
|
{
|
|
public DateTime Date { get; set; }
|
|
public string Item { get; set; } = null!;
|
|
public string? ItemId { get; set; } = null!;
|
|
public string? AccountId { get; set; } = null!;
|
|
public string? Description { get; set; }
|
|
public decimal? Plus { get; set; }
|
|
public decimal? Minus { get; set; }
|
|
public decimal? AmountBalancing { get; set; }
|
|
}
|
|
|
|
public class MotionRequestProfile : Profile
|
|
{
|
|
public MotionRequestProfile()
|
|
{
|
|
CreateMap<MotionRequest, MotionAddUpdate>();
|
|
}
|
|
} |