// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package model import ( "github.com/gogf/gf/os/gtime" internal2 "lims_adapter/model/account/internal" ) // SettleAccountMain is the golang structure for table settle_account_main. type SettleAccountMain internal2.SettleAccountMain // Fill with you ideas below. type SettleAccountMainReq struct { MainUserId int `json:"mainUserId"` BillId string `json:"billId"` MainUser string `json:"mainUser"` AttachUserId int `json:"attachUserId"` AttachUser string `json:"attachUser"` InstrumentId int `json:"instrumentId"` InstrumentName string `json:"instrumentName"` AppointUserId int `json:"appointUserId"` AppointUser string `json:"appointUser"` Status string `json:"status"` SettleStatus string `json:"settleStatus"` // 确认状态 AccountStatus string `json:"accountStatus"` // 结算状态 SettleUser string `json:"settleUser"` // 结算人 VerificationUser string `json:"verificationUser"` // 确认人 FeeType string `json:"feeType"` AppointStartDate string `json:"appointStartDate"` AppointEndDate string `json:"appointEndDate"` VerificationDate string `json:"verificationDate"` SettleStartDate string `json:"settleStartDate"` SettleEndDate string `json:"settleEndDate"` ActualStartDate string `json:"actualStartDate"` ActualEndDate string `json:"actualEndDate"` SearchType string `json:"searchType"` // 1 查询全部;2 查询主用户;3或其他 查询从用户 NotInBill string `json:"notInBill"` // 1 未出账单 其他 全部 } type AccountMainConfirmReq struct { MainId int `json:"mainId"` } type AccountMainAddReq struct { Main SettleAccountMain `json:"main"` Details []SettleAccountDetail `json:"details"` } type AccountMainCancelReq struct { AppointId int `json:"appointId"` IsAuto string `json:"is_auto"` // 0 手动取消;1 自动取消;2 管理员撤销 } type MainInfo struct { SettleAccountMain SignInTime *gtime.Time `orm:"SignInTime" json:"sign_in_time"` // 签到时间 SignOutTime *gtime.Time `orm:"SignOutTime" json:"sign_out_time"` // 签退时间 AppointStatus int `orm:"AppointStatus" json:"appoint_status"` // 预约状态 } type Instrument struct { Id int `orm:"Id,primary" json:"id"` // RoomId int `orm:"RoomId" json:"room_id"` // 所属房间id Code string `orm:"Code" json:"code"` // 设备编码 Name string `orm:"Name" json:"name"` // 设备名称 InstrImgId int `orm:"InstrImgId" json:"instr_img_id"` // 设备图片id InstrImgUrl string `orm:"InstrImgUrl" json:"instr_img_url"` // 设备图片Url SupplierId int `orm:"SupplierId" json:"supplier_id"` // 供应商 FactoryNum string `orm:"FactoryNum" json:"factory_num"` // 出厂编号 Model string `orm:"Model" json:"model"` // 型号 Brand string `orm:"Brand" json:"brand"` // 设备品牌 InstrType int `orm:"InstrType" json:"instr_type"` // 设备类别 Belongs int `orm:"Belongs" json:"belongs"` // 设备所属 1内部 2外部 BelongsName string `orm:"BelongsName" json:"belongs_name"` // 设备所属名称 Status int `orm:"Status" json:"status"` // 设备状态 Location string `orm:"Location" json:"location"` // 设备所在位置 Remark string `orm:"Remark" json:"remark"` // 备注 IsFixedPoint int `orm:"IsFixedPoint" json:"is_fixed_point"` // 参与点检: CalibrationAt *gtime.Time `orm:"CalibrationAt" json:"calibration_at"` // 校准时间 CalibrationDeadline int `orm:"CalibrationDeadline" json:"calibration_deadline"` // 校准使用期限 CalibrationDeadlineType int `orm:"CalibrationDeadlineType" json:"calibration_deadline_type"` // 期限类型 MaintenCycle int `orm:"MaintenCycle" json:"mainten_cycle"` // 维护周期数 CycleType int `orm:"CycleType" json:"cycle_type"` // 期限类型 HeartbeatAt *gtime.Time `orm:"HeartbeatAt" json:"heartbeat_at"` // 心跳时间 Spec string `orm:"Spec" json:"spec"` // 规格 CreatedAt string `orm:"CreatedAt" json:"created_at"` // 创建时间 CreatedBy int `orm:"CreatedBy" json:"created_by"` // 创建人 UpdatedAt *gtime.Time `orm:"UpdatedAt" json:"updated_at"` // 更新时间 UpdatedBy int `orm:"UpdatedBy" json:"updated_by"` // 更新人 TimeNotification int `orm:"TimeNotification" json:"time_notification"` // 有效期提醒 Sharable int `orm:"Sharable" json:"sharable"` // 是否共享(可预约) EndTime *gtime.Time `orm:"EndTime" json:"end_time"` // 截止日期 Responsible string `orm:"Responsible" json:"responsible"` // 责任人 MaintenTime *gtime.Time `orm:"MaintenTime" json:"mainten_time"` // 最后维护时间 PurchaseTime *gtime.Time `orm:"PurchaseTime" json:"purchase_time"` // 采购日期 JoinPlan int `orm:"JoinPlan" json:"join_plan"` // 计划 IsAppoint int `orm:"IsAppoint" json:"is_appoint"` // 是否需要预约 IsAppointAvailable string `orm:"IsAppointAvailable" json:"IsAppointAvailable"` // 是否默认可预约 1是 2否 DeletedAt *gtime.Time `orm:"DeletedAt" json:"deleted_at"` // 删除时间 Weekday string `orm:"Weekday" json:"weekday"` // 每周可预约日 BeginAt *gtime.Time `orm:"BeginAt" json:"begin_at"` // 预约开始时段 EndAt *gtime.Time `orm:"EndAt" json:"end_at"` // 预约结束时间 MediaIds string `orm:"MediaIds" json:"media_ids"` // 文件ID IsOpen int `orm:"IsOpen" json:"is_open"` // 是否开启预约 1开启 2未开启 Instructions string `orm:"Instructions" json:"instructions"` // 使用说明 Terminal string `orm:"Terminal" json:"terminal"` // 信息终端 RoleId int `orm:"RoleId" json:"role_id"` // 自动审批角色 Sort int `json:"sort" orm:"Sort"` // 排序 }