[Add] MasterData Services.

This commit is contained in:
Thanakarn Klangkasame
2025-11-26 10:29:56 +07:00
parent d4ab1cb592
commit 1e636aa3d5
205 changed files with 7814 additions and 69 deletions

View File

@@ -0,0 +1,11 @@
namespace AMREZ.EOP.Contracts.DTOs.MasterData.District;
public sealed record DistrictListRequest(
int Page = 1,
int PageSize = 20,
string? Search = null,
Guid? ProvinceId = default,
string? ProvinceCode = default,
bool IncludeInactive = false,
bool IncludeOverrides = true
);

View File

@@ -0,0 +1,17 @@
namespace AMREZ.EOP.Contracts.DTOs.MasterData.District;
public sealed record DistrictResponse(
Guid Id,
string Scope,
string Code,
string Name,
Dictionary<string, string>? NameI18n,
Guid? OverridesGlobalId,
bool IsActive,
bool IsSystem,
Dictionary<string, object>? Meta,
string DopaCode,
Guid ProvinceId,
string ProvinceName,
string ProvinceDopaCode
);