| 123456789101112131415161718192021222324252627282930313233343536373839 |
- // ==========================================================================
- // This is auto-generated by gf cli tool. Fill this file as you wish.
- // ==========================================================================
- package meeting
- import (
- internal2 "lims_adapter/model/meeting/internal"
- "github.com/gogf/gf/os/gtime"
- )
- // Meeting is the golang structure for table meeting.
- type Meeting internal2.Meeting
- // Fill with you ideas below.
- type MeetingReq struct {
- Id int `orm:"Id,primary" json:"id"` //
- Code string `orm:"Code" json:"code" v:"required#会议室编码不能为空"` // 会议室编码
- Name string `orm:"Name" json:"name" v:"required#会议室名称不能为空"` // 会议室名称
- Scale int `orm:"Scale" json:"scale"` // 规模/可容纳人数
- Remark string `orm:"Remark" json:"remark"` // 备注/说明
- Location string `orm:"Location" json:"location"` // 位置
- ImgUrl string `orm:"ImgUrl" json:"img_url"` // 图片Url
- Sort int `orm:"Sort" json:"sort"` // 排序
- BeginAt *gtime.Time `json:"beginAt"` // 预约开始时段
- EndAt *gtime.Time `json:"endAt"` // 预约结束时段
- }
- type ShortMeeting struct {
- Id int `orm:"Id,primary" json:"id"` //
- Code string `orm:"Code" json:"code"` // 会议室编码
- Name string `orm:"Name" json:"name"` // 会议室名称
- ImgUrl string `orm:"ImgUrl" json:"img_url"` // 图片Url
- BeginAt *gtime.Time `json:"beginAt"` // 预约开始时段
- EndAt *gtime.Time `json:"endAt"` // 预约结束时段
- Period [][]string `json:"period"` // 图片Url
- }
|