12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- package req
- import (
- "time"
- "ulink-admin/pkg/base"
- )
- type DocFileQuery struct {
- base.GlobalQuery
- Id int64 `form:"id"` //
- CatgoryId int64 `form:"catgoryId"` //分类id
- UserId int64 `form:"userId"` //分类id
- Label string `form:"label"` //标题
- Keywords string `form:"keywords"` //关键字
- Info string `form:"info"` //简介
- Content string `form:"content"` //内容
- File string `form:"file"` //附件
- State int `form:"state"` //状态(1禁用 2启用)
- Sort int64 `form:"sort"` //排序
- CreateTime time.Time `form:"createTime"` //创建时间
- CreateBy string `form:"createBy"` //创建人
- UpdateTime time.Time `form:"updateTime"` //更新时间
- UpdateBy string `form:"updateBy"` //更新人
- CompanyId int64 `form:"companyId"` //公司id
- }
- type DocFileBody struct {
- Id int64 `json:"id" binding:"required"` //
- CatgoryId int64 `json:"catgoryId" ` //分类id
- UserId int64 `json:"userId" ` //分类id
- Label string `json:"label" binding:"required"` //标题
- Keywords string `json:"keywords" ` //关键字
- Info string `json:"info" ` //简介
- Content string `json:"content" binding:"required"` //内容
- File string `json:"file" ` //附件
- State int `json:"state" ` //状态(1禁用 2启用)
- Sort int64 `json:"sort" ` //排序
- CreateTime time.Time `json:"createTime" ` //创建时间
- CreateBy string `json:"createBy" ` //创建人
- UpdateTime time.Time `json:"updateTime" ` //更新时间
- UpdateBy string `json:"updateBy" ` //更新人
- CompanyId int64 `json:"companyId" ` //公司id
- }
|