Files
2026-09-20 16:21:15 +07:00

26 lines
816 B
C#

using mws.backend.dotnet.application.Audit;
namespace mws.backend.dotnet.application.MasterData;
public class MasterDataDto : IHasEntityId
{
public Guid Id { get; set; }
public Guid EntityId => Id;
public string Group { get; set; } = string.Empty;
public string Label { get; set; } = string.Empty;
public string Value { get; set; } = string.Empty;
public int SortOrder { get; set; }
public bool IsActive { get; set; }
}
public class SaveMasterDataRequest
{
public string Group { get; set; } = string.Empty;
public string Label { get; set; } = string.Empty;
public string Value { get; set; } = string.Empty;
public int SortOrder { get; set; }
public bool IsActive { get; set; } = true;
}
public record MasterDataFilter(string? Group, string? Term, bool? IsActive);