6
0

settle_account_main.go 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. // SettleAccountMain is the golang structure for table settle_account_main.
  9. type SettleAccountMain struct {
  10. Id int `orm:"Id,primary" json:"id"` // 主键
  11. BillId int `orm:"BillId" json:"bill_id"` // 账单Id
  12. AppointId int `orm:"AppointId" json:"appoint_id"` // 预约Id
  13. AppointUserId int `orm:"AppointUserId" json:"appoint_user_id"` // 预约人Id
  14. AppointUser string `orm:"AppointUser" json:"appoint_user"` // 预约人
  15. MainUserId int `orm:"MainUserId" json:"main_user_id"` // 主用户Id
  16. MainUser string `orm:"MainUser" json:"main_user"` // 主用户
  17. FeeType string `orm:"FeeType" json:"fee_type"` // 计费类型:0 机时;
  18. SettleStatus string `orm:"SettleStatus" json:"settle_status"` // 确认状态 0未确认 1已确认
  19. TotalPrice float64 `orm:"TotalPrice" json:"total_price"` // 合计费用
  20. SettleTime *gtime.Time `orm:"SettleTime" json:"settle_time"` // 结算时间
  21. CreateUserId int `orm:"CreateUserId" json:"create_user_id"` //
  22. CreateBy string `orm:"CreateBy" json:"create_by"` //
  23. CreateOn *gtime.Time `orm:"CreateOn" json:"create_on"` //
  24. DeletedAt *gtime.Time `orm:"DeletedAt" json:"deleted_at"` // 删除时间
  25. AttachUserId int `orm:"AttachUserId" json:"attach_user_id"` // 从用户Id
  26. AttachUser string `orm:"AttachUser" json:"attach_user"` // 从用户
  27. Status string `orm:"Status" json:"status"` // 账单状态 0未汇总 1已汇总
  28. AppointStartDate *gtime.Time `orm:"AppointStartDate" json:"appoint_start_date"` // 预约开始时间
  29. AppointEndDate *gtime.Time `orm:"AppointEndDate" json:"appoint_end_date"` // 预约结束时间
  30. ActualStartDate *gtime.Time `orm:"ActualStartDate" json:"actual_start_date"` // 实际上机开始时间
  31. ActualEndDate *gtime.Time `orm:"ActualEndDate" json:"actual_end_date"` // 实际上机结束时间
  32. ActualMachineHour int `orm:"ActualMachineHour" json:"actual_machine_hour"` // 实际机时
  33. InstrumentId int `orm:"InstrumentId" json:"instrument_id"` // 仪器Id
  34. InstrumentCode string `orm:"InstrumentCode" json:"instrument_code"` // 仪器编号
  35. InstrumentName string `orm:"InstrumentName" json:"instrument_name"` // 仪器名称
  36. SettleUserId int `orm:"SettleUserId" json:"settle_user_id"` // 确认人Id
  37. SettleUser string `orm:"SettleUser" json:"settle_user"` // 确认人
  38. SettleDate *gtime.Time `orm:"SettleDate" json:"settle_date"` // 确认时间
  39. FeeTime int `orm:"FeeTime" json:"fee_time"` // 计费时间
  40. Remark string `orm:"Remark" json:"remark"` // 备注
  41. UpdateUserId int `orm:"UpdateUserId" json:"update_user_id"` // 更新者ID
  42. UpdateBy string `orm:"UpdateBy" json:"update_by"` // 更新者
  43. UpdateOn *gtime.Time `orm:"UpdateOn" json:"update_on"` // 更新时间
  44. }