|
|
@@ -25,21 +25,40 @@ type SettleAccountMainDao struct {
|
|
|
|
|
|
// SettleAccountMainColumns defines and stores column names for table settle_account_main.
|
|
|
type settleAccountMainColumns struct {
|
|
|
- Id string // 主键
|
|
|
- BillId string // 账单Id
|
|
|
- AppointId string // 预约Id
|
|
|
- AppointUserId string // 预约人Id
|
|
|
- AppointUser string // 预约人
|
|
|
- MainUserId string // 主用户Id
|
|
|
- MainUser string // 主用户
|
|
|
- FeeType string // 费用类型 1机时计费 2样本计费
|
|
|
- SettleStatus string // 结算状态 1未确认 2已确认 3已结账
|
|
|
- TotalPrice string // 结算总价
|
|
|
- SettleTime string // 结算时间
|
|
|
- CreateUserId string //
|
|
|
- CreateBy string //
|
|
|
- CreateOn string //
|
|
|
- DeletedAt string // 删除时间
|
|
|
+ Id string // 主键
|
|
|
+ BillId string // 账单Id
|
|
|
+ AppointId string // 预约Id
|
|
|
+ AppointUserId string // 预约人Id
|
|
|
+ AppointUser string // 预约人
|
|
|
+ MainUserId string // 主用户Id
|
|
|
+ MainUser string // 主用户
|
|
|
+ FeeType string // 计费类型:0 机时;
|
|
|
+ SettleStatus string // 确认状态 0未确认 1已确认
|
|
|
+ TotalPrice string // 合计费用
|
|
|
+ SettleTime string // 结算时间
|
|
|
+ CreateUserId string //
|
|
|
+ CreateBy string //
|
|
|
+ CreateOn string //
|
|
|
+ DeletedAt string // 删除时间
|
|
|
+ AttachUserId string // 从用户Id
|
|
|
+ AttachUser string // 从用户
|
|
|
+ Status string // 账单状态 0未汇总 1已汇总
|
|
|
+ AppointStartDate string // 预约开始时间
|
|
|
+ AppointEndDate string // 预约结束时间
|
|
|
+ ActualStartDate string // 实际上机开始时间
|
|
|
+ ActualEndDate string // 实际上机结束时间
|
|
|
+ ActualMachineHour string // 实际机时
|
|
|
+ InstrumentId string // 仪器Id
|
|
|
+ InstrumentCode string // 仪器编号
|
|
|
+ InstrumentName string // 仪器名称
|
|
|
+ SettleUserId string // 确认人Id
|
|
|
+ SettleUser string // 确认人
|
|
|
+ SettleDate string // 确认时间
|
|
|
+ FeeTime string // 计费时间
|
|
|
+ Remark string // 备注
|
|
|
+ UpdateUserId string // 更新者ID
|
|
|
+ UpdateBy string // 更新者
|
|
|
+ UpdateOn string // 更新时间
|
|
|
}
|
|
|
|
|
|
var (
|
|
|
@@ -49,21 +68,40 @@ var (
|
|
|
DB: g.DB("default"),
|
|
|
Table: "settle_account_main",
|
|
|
Columns: settleAccountMainColumns{
|
|
|
- Id: "Id",
|
|
|
- BillId: "BillId",
|
|
|
- AppointId: "AppointId",
|
|
|
- AppointUserId: "AppointUserId",
|
|
|
- AppointUser: "AppointUser",
|
|
|
- MainUserId: "MainUserId",
|
|
|
- MainUser: "MainUser",
|
|
|
- FeeType: "FeeType",
|
|
|
- SettleStatus: "SettleStatus",
|
|
|
- TotalPrice: "TotalPrice",
|
|
|
- SettleTime: "SettleTime",
|
|
|
- CreateUserId: "CreateUserId",
|
|
|
- CreateBy: "CreateBy",
|
|
|
- CreateOn: "CreateOn",
|
|
|
- DeletedAt: "DeletedAt",
|
|
|
+ Id: "Id",
|
|
|
+ BillId: "BillId",
|
|
|
+ AppointId: "AppointId",
|
|
|
+ AppointUserId: "AppointUserId",
|
|
|
+ AppointUser: "AppointUser",
|
|
|
+ MainUserId: "MainUserId",
|
|
|
+ MainUser: "MainUser",
|
|
|
+ FeeType: "FeeType",
|
|
|
+ SettleStatus: "SettleStatus",
|
|
|
+ TotalPrice: "TotalPrice",
|
|
|
+ SettleTime: "SettleTime",
|
|
|
+ CreateUserId: "CreateUserId",
|
|
|
+ CreateBy: "CreateBy",
|
|
|
+ CreateOn: "CreateOn",
|
|
|
+ DeletedAt: "DeletedAt",
|
|
|
+ AttachUserId: "AttachUserId",
|
|
|
+ AttachUser: "AttachUser",
|
|
|
+ Status: "Status",
|
|
|
+ AppointStartDate: "AppointStartDate",
|
|
|
+ AppointEndDate: "AppointEndDate",
|
|
|
+ ActualStartDate: "ActualStartDate",
|
|
|
+ ActualEndDate: "ActualEndDate",
|
|
|
+ ActualMachineHour: "ActualMachineHour",
|
|
|
+ InstrumentId: "InstrumentId",
|
|
|
+ InstrumentCode: "InstrumentCode",
|
|
|
+ InstrumentName: "InstrumentName",
|
|
|
+ SettleUserId: "SettleUserId",
|
|
|
+ SettleUser: "SettleUser",
|
|
|
+ SettleDate: "SettleDate",
|
|
|
+ FeeTime: "FeeTime",
|
|
|
+ Remark: "Remark",
|
|
|
+ UpdateUserId: "UpdateUserId",
|
|
|
+ UpdateBy: "UpdateBy",
|
|
|
+ UpdateOn: "UpdateOn",
|
|
|
},
|
|
|
}
|
|
|
)
|