refactor: customer db

This commit is contained in:
Methapon2001 2024-04-09 13:56:15 +07:00
parent 808bec7fc8
commit b804fafc42
2 changed files with 21 additions and 3 deletions

View file

@ -208,13 +208,17 @@ model User {
branch BranchUser[]
}
enum CustomerType {
CORP
PERS
}
model Customer {
id String @id @default(uuid())
id String @id @default(uuid())
code String
customerType String
customerType CustomerType
customerName String
customerNameEN String
imageUrl String?
status Status @default(CREATED)