fill_gun.go 668 B

1234567891011121314151617181920212223242526272829
  1. package model
  2. import model2 "gas-cylinder-api/common/model"
  3. // 充装枪
  4. type FillGun struct {
  5. model2.Model
  6. GunCode string `json:"gunCode" gorm:"size:32;"` // 充装枪编码
  7. ScanGunCode string `json:"scanGunCode" gorm:"size:512;"` // 扫描枪编码
  8. PersonCode string `json:"personCode" gorm:"size:36;"` // 充装人员编码
  9. Remark string `json:"remark" gorm:"size:128"` // 备注
  10. model2.ControlBy
  11. model2.ModelTime
  12. model2.DeptBy
  13. Dept SysDept
  14. }
  15. func (FillGun) TableName() string {
  16. return "fill_gun"
  17. }
  18. func (e *FillGun) Generate() model2.ActiveRecord {
  19. o := *e
  20. return &o
  21. }
  22. func (e *FillGun) GetId() interface{} {
  23. return e.Id
  24. }