|
@@ -0,0 +1,42 @@
|
|
|
|
|
+// ==========================================================================
|
|
|
|
|
+// This is auto-generated by gf cli tool. Fill this file as you wish.
|
|
|
|
|
+// ==========================================================================
|
|
|
|
|
+
|
|
|
|
|
+package plat
|
|
|
|
|
+
|
|
|
|
|
+import (
|
|
|
|
|
+ "dashoo.cn/opms_libary/request"
|
|
|
|
|
+ "github.com/gogf/gf/os/gtime"
|
|
|
|
|
+
|
|
|
|
|
+ "dashoo.cn/micro/app/model/plat/internal"
|
|
|
|
|
+)
|
|
|
|
|
+
|
|
|
|
|
+// PlatSchedule is the golang structure for table plat_schedule.
|
|
|
|
|
+type PlatSchedule internal.PlatSchedule
|
|
|
|
|
+
|
|
|
|
|
+// Fill with you ideas below.
|
|
|
|
|
+//AddScheduleSeq 添加日程表
|
|
|
|
|
+type AddScheduleSeq struct {
|
|
|
|
|
+ SchTitle string `json:"schTitle" v:"required#日程标题不能为空"` //标题
|
|
|
|
|
+ SchContent string `json:"schContent" v:"required#日程内容不能为空"` //内容
|
|
|
|
|
+ SchDate *gtime.Time `json:"schDate" ` //日期
|
|
|
|
|
+ BizType string `json:"bizType" omitempty ` //关联业务类型
|
|
|
|
|
+ BizBillId int `json:"bizBillId" omitempty` //关联业务单据
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// ScheduleSearchReq 日程表列表搜索参数
|
|
|
|
|
+type ScheduleSearchReq struct {
|
|
|
|
|
+ SchDate *gtime.Time `json:schDate` //日期
|
|
|
|
|
+ request.PageReq
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// GetScheduleRes 日程管理列表返回
|
|
|
|
|
+type GetScheduleRes struct {
|
|
|
|
|
+ SchTitle string `orm:"sch_title" json:"schTitle"` // 标题
|
|
|
|
|
+ SchContent string `orm:"sch_ content" json:"schContent"` // 内容
|
|
|
|
|
+ SchDate *gtime.Time `orm:"sch_ date" json:"schDate"` // 日期
|
|
|
|
|
+ UserName string `orm:"user_name" json:"userName"` // 用户姓名
|
|
|
|
|
+ BizType string `orm:"biz_type" json:"bizType"` // 关联业务类型
|
|
|
|
|
+ BizBillId int `orm:"biz_bill_id" json:"bizBillId"` // 关联业务单据
|
|
|
|
|
+ Remark string `orm:"remark" json:"remark"` // 备注
|
|
|
|
|
+}
|