TTempPermission.java 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. package com.sooka.system.domain;
  2. import java.util.Date;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import lombok.Data;
  5. import com.sooka.common.annotation.Excel;
  6. import org.springframework.format.annotation.DateTimeFormat;
  7. /**
  8. * tempPer对象 t_temp_permission
  9. *
  10. * @author lei
  11. * @date 2022-08-09
  12. */
  13. @Data
  14. public class TTempPermission extends BaseBusinessEntity
  15. {
  16. private static final long serialVersionUID = 1L;
  17. /** 主键 */
  18. private Long id;
  19. /** 用户ID */
  20. private Long userId;
  21. /** 登录账号 */
  22. @Excel(name = "登录账号")
  23. private String loginName;
  24. /** 用户昵称 */
  25. @Excel(name = "用户昵称")
  26. private String userName;
  27. /** 部门ID */
  28. private Long deptId;
  29. /** 所属部门 */
  30. @Excel(name = "所属部门")
  31. private String deptName;
  32. /** 开始时间 */
  33. @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
  34. @JsonFormat(pattern = "yyyy-MM-dd")
  35. private Date startTime;
  36. /** 结束时间 */
  37. @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
  38. @JsonFormat(pattern = "yyyy-MM-dd")
  39. private Date endTime;
  40. /** 起止时间 */
  41. private String duration;
  42. private Long[] users;
  43. /** 剩余天数 */
  44. @Excel(name = "剩余天数")
  45. private Long remainingDays;
  46. }