123456789101112131415161718192021222324252627282930313233343536373839 |
- package req
- import (
- "time"
- "ulink-admin/pkg/base"
- )
- type DocArticleQuery struct {
- base.GlobalQuery
- Id int64 `form:"id"` //主键id
- Label string `form:"label"` //文章标题
- CatId int64 `form:"catId"` //文章分类
- Profile string `form:"profile"` //简介
- Url string `form:"url"` //封面图
- IsTop int `form:"isTop"` //是否推荐(1否 2是)
- IsHot int `form:"isHot"` //是否热门(1否 2是)
- Content string `form:"content"` //内容
- Sort int `form:"sort"` //排序
- CreateBy string `form:"createBy"` //创建者
- CreateTime time.Time `form:"createTime"` //创建时间
- UpdateBy string `form:"updateBy"` //更新者
- UpdateTime time.Time `form:"updateTime"` //更新时间
- }
- type DocArticleBody struct {
- Id int64 `json:"id"` //主键id
- Label string `json:"label"` //文章标题
- CatId int64 `json:"catId"` //文章分类
- Profile string `json:"profile"` //简介
- Url string `json:"url"` //封面图
- IsTop int `json:"isTop"` //是否推荐(1否 2是)
- IsHot int `json:"isHot"` //是否热门(1否 2是)
- Content string `json:"content"` //内容
- Sort int `json:"sort"` //排序
- CreateBy string `json:"createBy"` //创建者
- CreateTime time.Time `json:"createTime"` //创建时间
- UpdateBy string `json:"updateBy"` //更新者
- UpdateTime time.Time `json:"updateTime"` //更新时间
- }
|