ctr_contract_invoice.go 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY.
  3. // ==========================================================================
  4. package internal
  5. import (
  6. "github.com/gogf/gf/os/gtime"
  7. )
  8. // CtrContractInvoice is the golang structure for table ctr_contract_invoice.
  9. type CtrContractInvoice struct {
  10. Id int `orm:"id,primary" json:"id"` // 主键
  11. CustId int `orm:"cust_id" json:"custId"` // 关联客户
  12. CustName string `orm:"cust_name" json:"custName"` // 客户名称
  13. ContractId int `orm:"contract_id" json:"contractId"` // 关联合同
  14. ContractCode string `orm:"contract_code" json:"contractCode"` // 合同编号
  15. ContractAmount float64 `orm:"contract_amount" json:"contractAmount"` // 合同金额
  16. InvoiceAmount float64 `orm:"invoice_amount" json:"invoiceAmount"` // 开票金额
  17. InvoiceDate *gtime.Time `orm:"invoice_date" json:"invoiceDate"` // 开票日期
  18. InvoiceType string `orm:"invoice_type" json:"invoiceType"` // 开票类型
  19. ApproStatus string `orm:"appro_status" json:"approStatus"` // 审核状态 10 待提交审核 20 待审核 30 审核已同意 40 审核已拒绝 50 审核已撤销
  20. InvoiceCode string `orm:"invoice_code" json:"invoiceCode"` // 发票号码
  21. ActualInvoiceDate *gtime.Time `orm:"actual_invoice_date" json:"actualInvoiceDate"` // 实际开票日期
  22. CourierCode string `orm:"courier_code" json:"courierCode"` // 快递单号
  23. TaxNo string `orm:"tax_no" json:"taxNo"` // 税号
  24. Address string `orm:"address" json:"address"` // 开票地址
  25. Phone string `orm:"phone" json:"phone"` // 开票电话
  26. Bank string `orm:"bank" json:"bank"` // 开户行
  27. AccountNo string `orm:"account_no" json:"accountNo"` // 账号
  28. Remark string `orm:"remark" json:"remark"` // 备注
  29. CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者
  30. CreatedName string `orm:"created_name" json:"createdName"` // 创建人
  31. CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
  32. UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者
  33. UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人
  34. UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
  35. DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间
  36. }