6
0

meeting.go 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package model
  5. import (
  6. "lims_reservation/model/internal"
  7. )
  8. // Meeting is the golang structure for table meeting.
  9. type Meeting internal.Meeting
  10. // Fill with you ideas below.
  11. type MeetingReq struct {
  12. Id int `orm:"Id,primary" json:"id"` //
  13. Code string `orm:"Code" json:"code" v:"required#会议室编码不能为空"` // 会议室编码
  14. Name string `orm:"Name" json:"name" v:"required#会议室名称不能为空"` // 会议室名称
  15. Scale int `orm:"Scale" json:"scale"` // 规模/可容纳人数
  16. Remark string `orm:"Remark" json:"remark"` // 备注/说明
  17. Location string `orm:"Location" json:"location"` // 位置
  18. ImgUrl string `orm:"ImgUrl" json:"img_url"` // 图片Url
  19. Sort int `orm:"Sort" json:"sort"` // 排序
  20. }
  21. type ShortMeeting struct {
  22. Id int `orm:"Id,primary" json:"id"` //
  23. Code string `orm:"Code" json:"code"` // 会议室编码
  24. Name string `orm:"Name" json:"name"` // 会议室名称
  25. ImgUrl string `orm:"ImgUrl" json:"img_url"` // 图片Url
  26. }