admin: add common-code crud and business-day rules

This commit is contained in:
2026-07-02 10:27:57 +09:00
parent df4c555dd1
commit 1839c2c3d1
17 changed files with 628 additions and 170 deletions
@@ -7,6 +7,10 @@ namespace TaxBaik.Domain.Interfaces;
public interface ICommonCodeRepository
{
Task<IEnumerable<string>> GetAllGroupsAsync(CancellationToken ct = default);
Task<IEnumerable<CommonCode>> GetByGroupAsync(string codeGroup, CancellationToken ct = default);
Task<IEnumerable<CommonCode>> GetAllActiveAsync(CancellationToken ct = default);
Task<CommonCode?> GetAsync(string codeGroup, string codeValue, CancellationToken ct = default);
Task UpsertAsync(CommonCode code, CancellationToken ct = default);
Task DeleteAsync(string codeGroup, string codeValue, CancellationToken ct = default);
}