| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- // ==========================================================================
- // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY.
- // ==========================================================================
- package internal
- import (
- "github.com/gogf/gf/os/gtime"
- )
- // Instrument is the golang structure for table instrument.
- type Instrument struct {
- Id int `orm:"Id,primary" json:"id"` //
- RoomId int `orm:"RoomId" json:"roomId"` // 所属房间id
- Code string `orm:"Code" json:"code"` // 设备编码
- Name string `orm:"Name" json:"name"` // 设备名称
- InstrImgId int `orm:"InstrImgId" json:"instrImgId"` // 设备图片id
- InstrImgUrl string `orm:"InstrImgUrl" json:"instrImgUrl"` // 设备图片Url
- SupplierId int `orm:"SupplierId" json:"supplierId"` // 供应商
- FactoryNum string `orm:"FactoryNum" json:"factoryNum"` // 出厂编号
- Model string `orm:"Model" json:"model"` // 型号
- Brand string `orm:"Brand" json:"brand"` // 设备品牌
- InstrType int `orm:"InstrType" json:"instrType"` // 设备类别
- Status int `orm:"Status" json:"status"` // 设备状态
- Belongs int `orm:"Belongs" json:"belongs"` // 设备所属 1内部 2外部
- BelongsName int `orm:"BelongsName" json:"belongsName"` // 设备所属名称
- Rate int `orm:"Rate" json:"rate"` // 优惠比例
- UnitCount float64 `orm:"UnitCount" json:"unitCount"` // 计费单价
- CountType string `orm:"-" json:"countType"` // 计费方式
- Location string `orm:"Location" json:"location"` // 设备所在位置
- Remark string `orm:"Remark" json:"remark"` // 备注
- IsFixedPoint int `orm:"IsFixedPoint" json:"isFixedPoint"` // 参与点检:
- CalibrationAt string `orm:"CalibrationAt" json:"calibrationAt"` // 校准时间
- CalibrationDeadline int `orm:"CalibrationDeadline" json:"calibrationDeadline"` // 校准使用期限
- CalibrationDeadlineType int `orm:"CalibrationDeadlineType" json:"calibrationDeadlineType"` // 期限类型
- MaintenCycle int `orm:"MaintenCycle" json:"maintenCycle"` // 维护周期数
- CycleType int `orm:"CycleType" json:"cycleType"` // 期限类型
- HeartbeatAt *gtime.Time `orm:"HeartbeatAt" json:"heartbeatAt"` // 心跳时间
- Spec string `orm:"Spec" json:"spec"` // 规格
- CreatedAt string `orm:"CreatedAt" json:"createdAt"` // 创建时间
- CreatedBy int `orm:"CreatedBy" json:"createdBy"` // 创建人
- UpdatedAt *gtime.Time `orm:"UpdatedAt" json:"updatedAt"` // 更新时间
- UpdatedBy int `orm:"UpdatedBy" json:"updatedBy"` // 更新人
- TimeNotification int `orm:"TimeNotification" json:"timeNotification"` // 有效期提醒
- Sharable int `orm:"Sharable" json:"sharable"` // 是否共享(可预约)
- EndTime *gtime.Time `orm:"EndTime" json:"endTime"` // 截止日期
- Responsible string `orm:"Responsible" json:"responsible"` // 责任人
- MaintenTime *gtime.Time `orm:"MaintenTime" json:"maintenTime"` // 最后维护时间
- PurchaseTime *gtime.Time `orm:"PurchaseTime" json:"purchaseTime"` // 采购日期
- JoinPlan int `orm:"JoinPlan" json:"joinPlan"` // 计划
- IsAppoint int `orm:"IsAppoint" json:"isAppoint"` // 是否需要预约
- IsAppointAvailable int `orm:"IsAppointAvailable" json:"isAppointAvailable"` // 是否默认可预约 1是 2否
- DeletedAt *gtime.Time `orm:"DeletedAt" json:"deletedAt"` // 删除时间
- Weekday string `orm:"Weekday" json:"weekday"` // 每周可预约日
- BeginAt *gtime.Time `orm:"BeginAt" json:"beginAt"` // 预约开始时段
- EndAt *gtime.Time `orm:"EndAt" json:"endAt"` // 预约结束时间
- MediaIds string `orm:"MediaIds" json:"mediaIds"` // 文件ID
- IsOpen int `orm:"IsOpen" json:"isOpen"` // 是否开启预约 1开启 2未开启
- Instructions string `orm:"Instructions" json:"instructions"` // 使用说明
- Terminal string `orm:"Terminal" json:"terminal"` // 信息终端
- RoleId int `orm:"RoleId" json:"roleId"` // 自动审批角色
- Sort int `orm:"Sort" json:"sort"` // 排序
- Qualification int `json:"qualification"` // 人员预约资格 1普通资格 2自身资格
- }
|