wangxingcheng 3 anos atrás
pai
commit
4ab86dea78

+ 29 - 0
opms_parent/app/model/plat/internal/plat_schedule.go

@@ -0,0 +1,29 @@
+// ==========================================================================
+// This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY.
+// ==========================================================================
+
+package internal
+
+import (
+	"github.com/gogf/gf/os/gtime"
+)
+
+// PlatSchedule is the golang structure for table plat_schedule.
+type PlatSchedule struct {
+	Id          int         `orm:"id,primary"   json:"id"`          // 主键
+	SchTitle    string      `orm:"sch_title"    json:"schTitle"`    // 标题
+	SchContent  string      `orm:"sch_content" json:"schContent"`   // 内容
+	SchDate     *gtime.Time `orm:"sch_date"    json:"schDate"`      // 日期
+	UserId      int         `orm:"user_id"      json:"userId"`      // 关联用户
+	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"`      // 备注
+	CreatedBy   int         `orm:"created_by"   json:"createdBy"`   // 创建者
+	CreatedName string      `orm:"created_name" json:"createdName"` // 创建人
+	CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
+	UpdatedBy   int         `orm:"updated_by"   json:"updatedBy"`   // 更新者
+	UpdatedName string      `orm:"updated_name" json:"updatedName"` // 更新人
+	UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
+	DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间
+}

+ 28 - 0
opms_parent/app/model/plat/internal/plat_schedule_remind.go

@@ -0,0 +1,28 @@
+// ==========================================================================
+// This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY.
+// ==========================================================================
+
+package internal
+
+import (
+	"github.com/gogf/gf/os/gtime"
+)
+
+// PlatScheduleRemind is the golang structure for table plat_schedule_remind.
+type PlatScheduleRemind struct {
+	Id          int         `orm:"id,primary"   json:"id"`          // 主键
+	SchId       int         `orm:"sch_id"       json:"schId"`       // 日程ID
+	RidDate     *gtime.Time `orm:"rid_date"     json:"ridDate"`     // 提醒时间
+	RidMode     string      `orm:"rid_mode"     json:"ridMode"`     // 提醒方式
+	IsLoop      string      `orm:"is_loop"      json:"isLoop"`      // 是否循环
+	CycleType   string      `orm:"cycle_type"   json:"cycleType"`   // 周期类型
+	CycleSetup  string      `orm:"cycle_setup"  json:"cycleSetup"`  // 周期设置
+	Remark      string      `orm:"remark"       json:"remark"`      // 备注
+	CreatedBy   int         `orm:"created_by"   json:"createdBy"`   // 创建者
+	CreatedName string      `orm:"created_name" json:"createdName"` // 创建人
+	CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
+	UpdatedBy   int         `orm:"updated_by"   json:"updatedBy"`   // 更新者
+	UpdatedName string      `orm:"updated_name" json:"updatedName"` // 更新人
+	UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
+	DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间
+}

+ 42 - 0
opms_parent/app/model/plat/plat_schedule.go

@@ -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"`          // 备注
+}

+ 14 - 0
opms_parent/app/model/plat/plat_schedule_remind.go

@@ -0,0 +1,14 @@
+// ==========================================================================
+// This is auto-generated by gf cli tool. Fill this file as you wish.
+// ==========================================================================
+
+package plat
+
+import (
+	"dashoo.cn/micro/app/model/plat/internal"
+)
+
+// PlatScheduleRemind is the golang structure for table plat_schedule_remind.
+type PlatScheduleRemind internal.PlatScheduleRemind
+
+// Fill with you ideas below.