real_fill_data.go 742 B

1234567891011121314151617181920212223242526272829
  1. package dto
  2. import (
  3. "gas-cylinder-api/common/dto"
  4. common "gas-cylinder-api/common/model"
  5. )
  6. type RealFillDataGetPageReq struct {
  7. dto.Pagination `search:"-"`
  8. GunCode int `form:"gunCode" search:"type:exact;column:state;table:real_fill_data"` // 枪编码
  9. }
  10. func (m *RealFillDataGetPageReq) GetNeedSearch() interface{} {
  11. return *m
  12. }
  13. type RealFillDataInsertReq struct {
  14. Id int `json:"id" comment:"编码" swaggerignore:"true"` // 编码
  15. ScanGunCode string `json:"scanGunCode"`
  16. ChipID string `json:"chipID"`
  17. common.ControlBy `swaggerignore:"true"`
  18. common.DeptBy `swaggerignore:"true"`
  19. }
  20. // GetId 获取数据对应的ID
  21. func (s *RealFillDataInsertReq) GetId() interface{} {
  22. return s.Id
  23. }