CompanyResponse.java 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. package com.dk.oauth.entity;
  2. import com.baomidou.mybatisplus.annotation.TableField;
  3. import com.dk.common.infrastructure.handler.TimestampTypeHandler;
  4. import com.fasterxml.jackson.annotation.JsonFormat;
  5. import cn.afterturn.easypoi.excel.annotation.Excel;
  6. import io.swagger.annotations.ApiModelProperty;
  7. import lombok.Data;
  8. import java.time.LocalDate;
  9. /**
  10. * @author : 周兴
  11. * @desc : CompanyResponse
  12. * @date : 2024-2-18 15:35
  13. */
  14. @Data
  15. public class CompanyResponse {
  16. private Integer cpId;
  17. private String cpCode;
  18. private String cpName;
  19. private String svcCode;
  20. private String svcIp;
  21. private String svcPort;
  22. private String gradeCode;
  23. @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  24. @TableField(typeHandler = TimestampTypeHandler.class)
  25. private LocalDate endDate;
  26. /**
  27. * 人数上限 (可以绑定微信的员工人数)
  28. */
  29. @ApiModelProperty(value = "人数上限 (可以绑定微信的员工人数)")
  30. private Integer maxStaffNum;
  31. /**
  32. * 当前人数 (当前绑定微信的员工人数)
  33. */
  34. @ApiModelProperty(value = "当前人数 (当前绑定微信的员工人数)")
  35. private Integer curStaffNum;
  36. }