// ========================================================================== // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY. // ========================================================================== package internal import ( "github.com/gogf/gf/os/gtime" ) // SettleAccountMain is the golang structure for table settle_account_main. type SettleAccountMain struct { Id int `orm:"Id,primary" json:"id"` // 主键 BillId int `orm:"BillId" json:"bill_id"` // 账单Id AppointId int `orm:"AppointId" json:"appoint_id"` // 预约Id AppointUserId int `orm:"AppointUserId" json:"appoint_user_id"` // 预约人Id AppointUser string `orm:"AppointUser" json:"appoint_user"` // 预约人 MainUserId int `orm:"MainUserId" json:"main_user_id"` // 主用户Id MainUser string `orm:"MainUser" json:"main_user"` // 主用户 FeeType string `orm:"FeeType" json:"fee_type"` // 计费类型:0 机时; SettleStatus string `orm:"SettleStatus" json:"settle_status"` // 确认状态 0未确认 1已确认 TotalPrice float64 `orm:"TotalPrice" json:"total_price"` // 合计费用 SettleTime *gtime.Time `orm:"SettleTime" json:"settle_time"` // 结算时间 CreateUserId int `orm:"CreateUserId" json:"create_user_id"` // CreateBy string `orm:"CreateBy" json:"create_by"` // CreateOn *gtime.Time `orm:"CreateOn" json:"create_on"` // DeletedAt *gtime.Time `orm:"DeletedAt" json:"deleted_at"` // 删除时间 AttachUserId int `orm:"AttachUserId" json:"attach_user_id"` // 从用户Id AttachUser string `orm:"AttachUser" json:"attach_user"` // 从用户 Status string `orm:"Status" json:"status"` // 账单状态 0未汇总 1已汇总 AppointStartDate *gtime.Time `orm:"AppointStartDate" json:"appoint_start_date"` // 预约开始时间 AppointEndDate *gtime.Time `orm:"AppointEndDate" json:"appoint_end_date"` // 预约结束时间 ActualStartDate *gtime.Time `orm:"ActualStartDate" json:"actual_start_date"` // 实际上机开始时间 ActualEndDate *gtime.Time `orm:"ActualEndDate" json:"actual_end_date"` // 实际上机结束时间 ActualMachineHour int `orm:"ActualMachineHour" json:"actual_machine_hour"` // 实际机时 InstrumentId int `orm:"InstrumentId" json:"instrument_id"` // 仪器Id InstrumentCode string `orm:"InstrumentCode" json:"instrument_code"` // 仪器编号 InstrumentName string `orm:"InstrumentName" json:"instrument_name"` // 仪器名称 SettleUserId int `orm:"SettleUserId" json:"settle_user_id"` // 确认人Id SettleUser string `orm:"SettleUser" json:"settle_user"` // 确认人 SettleDate *gtime.Time `orm:"SettleDate" json:"settle_date"` // 确认时间 FeeTime int `orm:"FeeTime" json:"fee_time"` // 计费时间 Remark string `orm:"Remark" json:"remark"` // 备注 UpdateUserId int `orm:"UpdateUserId" json:"update_user_id"` // 更新者ID UpdateBy string `orm:"UpdateBy" json:"update_by"` // 更新者 UpdateOn *gtime.Time `orm:"UpdateOn" json:"update_on"` // 更新时间 }