@@ -146,6 +146,12 @@ enum InvoiceKind {
|
||||
SPECIAL
|
||||
}
|
||||
|
||||
/// C 端开票品类(增值税票种固定普通发票)
|
||||
enum InvoiceCategory {
|
||||
LIQUOR
|
||||
CATERING
|
||||
}
|
||||
|
||||
enum InvoiceStatus {
|
||||
PENDING
|
||||
ISSUED
|
||||
@@ -1678,6 +1684,8 @@ model UserInvoice {
|
||||
userId BigInt @map("user_id") @db.UnsignedBigInt
|
||||
titleType InvoiceTitleType @map("title_type")
|
||||
invoiceKind InvoiceKind @map("invoice_kind")
|
||||
/// 酒水类 / 餐饮类;历史单默认酒水类
|
||||
invoiceCategory InvoiceCategory @default(LIQUOR) @map("invoice_category")
|
||||
titleName String @map("title_name") @db.VarChar(128)
|
||||
taxNo String? @map("tax_no") @db.VarChar(32)
|
||||
addressPhone String? @map("address_phone") @db.VarChar(256)
|
||||
|
||||
Reference in New Issue
Block a user