260306:1535 20260306:1500 refactor tags
Some checks failed
Build and Deploy / deploy (push) Failing after 8m12s

This commit is contained in:
admin
2026-03-06 15:35:41 +07:00
parent 1cb909a796
commit 752df1fe59
10 changed files with 404 additions and 185 deletions

View File

@@ -1,9 +1,15 @@
// File: src/types/dto/master/tag.dto.ts
export interface CreateTagDto {
/** ID โครงการ (NULL = Global) */
project_id?: number | null;
/** ชื่อ Tag (เช่น 'URGENT') */
tag_name: string;
/** รหัสสี หรือชื่อคลาสสำหรับ UI */
color_code?: string;
/** คำอธิบาย */
description?: string;
}
@@ -11,6 +17,9 @@ export interface CreateTagDto {
export type UpdateTagDto = Partial<CreateTagDto>;
export interface SearchTagDto {
/** ID โครงการ (ใช้กรอง Tag ของแต่ละโปรเจกต์) */
project_id?: number;
/** คำค้นหา (ชื่อ Tag หรือ คำอธิบาย) */
search?: string;