CreateAppUserParamVo.java 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. package com.fdkankan.openApi.vo.system;
  2. import lombok.Data;
  3. import javax.validation.constraints.NotBlank;
  4. import javax.validation.constraints.NotNull;
  5. import java.util.Date;
  6. @Data
  7. public class CreateAppUserParamVo {
  8. /**
  9. * 账号
  10. */
  11. @NotBlank(message = "userName不能为空")
  12. private String userName;
  13. /**
  14. * 客户名称
  15. */
  16. @NotBlank(message = "customerName不能为空")
  17. private String customerName;
  18. /**
  19. * 客户描述
  20. */
  21. private String description;
  22. /**
  23. * api调用次数,当值为-1时,表示无限制,非负数表示增加次数
  24. */
  25. @NotNull(message = "count不能为空")
  26. private Integer count;
  27. /**
  28. * 启用状态(0-否,1-是)
  29. */
  30. @NotNull(message = "state不能为空")
  31. private Integer state;
  32. /**
  33. * 生效时间
  34. */
  35. @NotNull(message = "effectTime不能为空")
  36. private Date effectTime;
  37. /**
  38. * 创建人id(对应管理后台用户id)
  39. */
  40. @NotNull(message = "createrId不能为空")
  41. private Long createrId;
  42. }