sys_post.go 707 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * @desc:岗位相关参数
  3. * @company:云南奇讯科技有限公司
  4. * @Author: yixiaohu
  5. * @Date: 2022/4/7 23:09
  6. */
  7. package system
  8. import (
  9. "github.com/gogf/gf/v2/frame/g"
  10. commonApi "github.com/tiger1103/gfast/v3/api/v1/common"
  11. "github.com/tiger1103/gfast/v3/internal/app/system/model/entity"
  12. )
  13. type PostSearchReq struct {
  14. g.Meta `path:"/post/list" tags:"岗位管理" method:"get" summary:"岗位列表"`
  15. PostCode string `p:"postCode"` //岗位编码
  16. PostName string `p:"postName"` //岗位名称
  17. Status string `p:"status"` //状态
  18. commonApi.PageReq
  19. }
  20. type PostSearchRes struct {
  21. g.Meta `mime:"application/json"`
  22. commonApi.ListRes
  23. PostList []*entity.SysPost `json:"postList"`
  24. }