meeting.go 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package meeting
  5. import (
  6. internal2 "lims_adapter/model/meeting/internal"
  7. "github.com/gogf/gf/os/gtime"
  8. )
  9. // Meeting is the golang structure for table meeting.
  10. type Meeting internal2.Meeting
  11. // Fill with you ideas below.
  12. type MeetingReq struct {
  13. Id int `orm:"Id,primary" json:"id"` //
  14. Code string `orm:"Code" json:"code" v:"required#会议室编码不能为空"` // 会议室编码
  15. Name string `orm:"Name" json:"name" v:"required#会议室名称不能为空"` // 会议室名称
  16. Scale int `orm:"Scale" json:"scale"` // 规模/可容纳人数
  17. Remark string `orm:"Remark" json:"remark"` // 备注/说明
  18. Location string `orm:"Location" json:"location"` // 位置
  19. ImgUrl string `orm:"ImgUrl" json:"img_url"` // 图片Url
  20. Sort int `orm:"Sort" json:"sort"` // 排序
  21. BeginAt *gtime.Time `json:"beginAt"` // 预约开始时段
  22. EndAt *gtime.Time `json:"endAt"` // 预约结束时段
  23. }
  24. type ShortMeeting struct {
  25. Id int `orm:"Id,primary" json:"id"` //
  26. Code string `orm:"Code" json:"code"` // 会议室编码
  27. Name string `orm:"Name" json:"name"` // 会议室名称
  28. ImgUrl string `orm:"ImgUrl" json:"img_url"` // 图片Url
  29. BeginAt *gtime.Time `json:"beginAt"` // 预约开始时段
  30. EndAt *gtime.Time `json:"endAt"` // 预约结束时段
  31. Period [][]string `json:"period"` // 图片Url
  32. }