sys_attachment_request.go 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. package req
  2. import (
  3. "time"
  4. "ulink-admin/pkg/base"
  5. )
  6. type SysAttachmentQuery struct {
  7. base.GlobalQuery
  8. Id int64 `form:"id"` //主键
  9. Label string `form:"label"` //文件名称
  10. Path string `form:"path"` //文件路径
  11. ZipPath string `form:"zipPath"` //文件压缩路径
  12. Url string `form:"url"` //相对路径
  13. Type string `form:"type"` //文件类型
  14. Ext string `form:"ext"` //扩展名
  15. CreateTime time.Time `form:"createTime"` //创建时间
  16. CreateBy string `form:"createBy"` //创建人
  17. UpdateTime time.Time `form:"updateTime"` //更新时间
  18. UpdateBy string `form:"updateBy"` //更新人
  19. Remark string `form:"remark"` //备注
  20. No int64 `form:"no"` //序号
  21. }
  22. type SysAttachmentBody struct {
  23. Id int64 `json:"id"` //主键
  24. Label string `json:"label"` //文件名称
  25. Path string `json:"path"` //文件路径
  26. ZipPath string `form:"zipPath"` //文件压缩路径
  27. Url string `json:"url"` //相对路径
  28. Type string `json:"type"` //文件类型
  29. Ext string `json:"ext"` //扩展名
  30. CreateTime time.Time `json:"createTime"` //创建时间
  31. CreateBy string `json:"createBy"` //创建人
  32. UpdateTime time.Time `json:"updateTime"` //更新时间
  33. UpdateBy string `json:"updateBy"` //更新人
  34. Remark string `json:"remark"` //备注
  35. No int64 `json:"no"` //序号
  36. }