sys_company_request.go 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. package req
  2. import (
  3. "time"
  4. "ulink-admin/pkg/base"
  5. )
  6. type SysCompanyQuery struct {
  7. base.GlobalQuery
  8. Id int64 `form:"id"` //
  9. Label string `form:"label"` //公司名称
  10. UserId int64 `form:"userId"` //管理员Id
  11. IsTip int `form:"isTip"` //是否到期提醒(1否 2是)
  12. IsPay int `form:"isPay"` //是否续费提醒(1否 2是)
  13. Status int `form:"status"` //状态(1试用 2正常 3锁定 4过期)
  14. EffectiveDate time.Time `form:"effectiveDate"` //有效日期
  15. CreateTime time.Time `form:"createTime"` //创建时间
  16. CreateBy string `form:"createBy"` //创建人
  17. UpdateTime time.Time `form:"updateTime"` //更新时间
  18. UpdateBy string `form:"updateBy"` //更新人
  19. }
  20. type SysCompanyBody struct {
  21. Id int64 `json:"id" binding:"required"` //
  22. Label string `json:"label" binding:"required"` //公司名称
  23. UserId int64 `json:"userId" ` //管理员Id
  24. IsTip int `json:"isTip" ` //是否到期提醒(1否 2是)
  25. IsPay int `json:"isPay" ` //是否续费提醒(1否 2是)
  26. Status int `json:"status" binding:"required"` //状态(1试用 2正常 3锁定 4过期)
  27. EffectiveDate time.Time `json:"effectiveDate" ` //有效日期
  28. CreateTime time.Time `json:"createTime" ` //创建时间
  29. CreateBy string `json:"createBy" ` //创建人
  30. UpdateTime time.Time `json:"updateTime" ` //更新时间
  31. UpdateBy string `json:"updateBy" ` //更新人
  32. }