instrument.go 6.3 KB

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