// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package model import ( "github.com/gogf/gf/os/gtime" "lims_adapter/model/account/internal" "lims_adapter/model/equipment" ) // SettleAccountDetail is the golang structure for table settle_account_detail. type SettleAccountDetail internal.SettleAccountDetail // Fill with you ideas below. // 预约详细信息 type AppointInfo struct { Appoint *SearchEntity User *SearchUser Instr *equipment.SearchEntity } // 结算明细前端请求 type AppointInfoReq struct { Appointment *AppointInfo SignOutTime *gtime.Time } // 结算明细子表信息 // 返回预约列表 type SearchEntity struct { Id int `orm:"Id,primary" json:"Id"` // Title string `orm:"Title" json:"Title"` // 标题 ProjectId int `orm:"ProjectId" json:"project_id"` // 科研项目ID UserId int `orm:"UserId" json:"UserId"` // 预约人ID UserName string `orm:"UserName" json:"user_name"` // 预约人姓名 CreatedAt *gtime.Time `orm:"CreatedAt" json:"AppointTime"` // 创建时间 DepartmentId int `orm:"DepartmentId" json:"DepartmentId"` // 部门,单位 Status int `orm:"Status" json:"Status"` // 状态 Remark string `orm:"Remark" json:"Remark"` // 备注 RelevanceId int `orm:"RelevanceId" json:"RelevanceId"` // 设备Id StartTime *gtime.Time `orm:"StartTime" json:"StartTime"` // 开始时间 EndTime *gtime.Time `orm:"EndTime" json:"EndTime"` // 结束时间 Num int `orm:"Num" json:"num"` // 参与人数 RealityUseDuration float64 `orm:"RealityUseDuration" json:"reality_use_duration"` // 实际使用时长 SignInTime *gtime.Time `orm:"SignInTime" json:"sign_in_time"` // 签到时间 SignOutTime *gtime.Time `orm:"SignOutTime" json:"sign_out_time"` // 签退时间 Reason string `orm:"Reason" json:"reason"` // 拒绝原因 UpdateAt *gtime.Time `orm:"UpdatedAt" json:"UpdateAt"` // 更新时间 } type SearchUser struct { Id int `orm:"Id,primary" json:"id"` Uuid string `orm:"Uuid" json:"uuid"` UserName string `orm:"UserName" json:"user_name"` Realname string `orm:"Realname" json:"realname"` Mobile string `orm:"Mobile" json:"mobile"` DepartmentId string `orm:"DepartmentId" json:"department_id"` DepartmentName string `orm:"DepartmentName" json:"department_name"` IsPreferential string ` json:"isPreferential"` // 是否享有设备预约优惠 3有优惠 }