plat_schedule.go 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package plat
  5. import (
  6. "dashoo.cn/opms_libary/request"
  7. "github.com/gogf/gf/os/gtime"
  8. "dashoo.cn/micro/app/model/plat/internal"
  9. )
  10. // PlatSchedule is the golang structure for table plat_schedule.
  11. type PlatSchedule internal.PlatSchedule
  12. // Fill with you ideas below.
  13. //AddScheduleSeq 添加日程表
  14. type AddScheduleSeq struct {
  15. SchTitle string `json:"schTitle" v:"required#日程标题不能为空"` //标题
  16. SchContent string `json:"schContent" v:"required#日程内容不能为空"` //内容
  17. SchDate *gtime.Time `json:"schDate" ` //日期
  18. BizType string `json:"bizType" omitempty ` //关联业务类型
  19. BizBillId int `json:"bizBillId" omitempty` //关联业务单据
  20. }
  21. // ScheduleSearchReq 日程表列表搜索参数
  22. type ScheduleSearchReq struct {
  23. SchDate *gtime.Time `json:schDate` //日期
  24. request.PageReq
  25. }
  26. // GetScheduleRes 日程管理列表返回
  27. type GetScheduleRes struct {
  28. SchTitle string `orm:"sch_title" json:"schTitle"` // 标题
  29. SchContent string `orm:"sch_ content" json:"schContent"` // 内容
  30. SchDate *gtime.Time `orm:"sch_ date" json:"schDate"` // 日期
  31. UserName string `orm:"user_name" json:"userName"` // 用户姓名
  32. BizType string `orm:"biz_type" json:"bizType"` // 关联业务类型
  33. BizBillId int `orm:"biz_bill_id" json:"bizBillId"` // 关联业务单据
  34. Remark string `orm:"remark" json:"remark"` // 备注
  35. }