| 123456789101112131415161718192021222324252627282930 |
- // ============================================================================
- // This is auto-generated by gf cli tool only once. Fill this file as you wish.
- // ============================================================================
- package duty
- import (
- "dashoo.cn/modi_webapi/app/common"
- "github.com/gogf/gf/os/gtime"
- )
- // 搜索请求
- type SelectPageReq struct {
- Title string `protobuf:"bytes,2,opt,name=Title,proto3" json:"Title,omitempty"`
- Status int `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
- Year int `protobuf:"bytes,2,opt,name=Year,proto3" json:"Year,omitempty"`
- Term int `protobuf:"bytes,2,opt,name=Term,proto3" json:"Term,omitempty"`
- Common common.SelectPageReq
- }
- // 添加
- type AddDateReq struct {
- Year int `xorm:"INT(10)" v:"required"` // 学年
- Term string `xorm:"VARCHAR(32)" v:"required"` // 学期
- Title string `xorm:"VARCHAR(32)" v:"required"` // 标题
- Status string `xorm:"VARCHAR(32)" v:"required"` // 状态
- CreatedBy string `xorm:"VARCHAR(32)"` // 创建人
- CreatedTime *gtime.Time `xorm:"DATETIME created"` // 创建时间
- IsDel int `xorm:"INT(10)"` // 删除标志
- }
|