260306:1535 20260306:1500 refactor tags
Some checks failed
Build and Deploy / deploy (push) Failing after 8m12s
Some checks failed
Build and Deploy / deploy (push) Failing after 8m12s
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user