feat: add product code

This commit is contained in:
Methapon2001 2024-07-02 16:19:38 +07:00
parent 9618c261e3
commit 4f1afea7fb

View file

@ -28,7 +28,21 @@ const MINIO_BUCKET = process.env.MINIO_BUCKET;
type ProductCreate = {
status?: Status;
code: "AC" | "DO" | "ac" | "do";
code:
| "DOE"
| "IMM"
| "TM"
| "HP"
| "MOUC"
| "MOUL"
| "AC"
| "doe"
| "imm"
| "tm"
| "hp"
| "mouc"
| "moul"
| "ac";
name: string;
detail: string;
process: number;