5ad990c7ccfb0c483b4243e4d67b7903f504cce7.svn-base 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. package org.jeecg.modules.system.entity;
  2. import com.baomidou.mybatisplus.annotation.TableId;
  3. import com.baomidou.mybatisplus.annotation.TableName;
  4. import com.fasterxml.jackson.annotation.JsonFormat;
  5. import lombok.Data;
  6. import org.jeecg.common.aspect.annotation.Dict;
  7. import org.springframework.format.annotation.DateTimeFormat;
  8. import java.io.Serializable;
  9. import java.util.Date;
  10. /**
  11. * 租户信息
  12. */
  13. @Data
  14. @TableName("sys_tenant")
  15. public class SysTenant implements Serializable {
  16. private static final long serialVersionUID = 1L;
  17. /**
  18. * 编码
  19. */
  20. private Integer id;
  21. /**
  22. * 名称
  23. */
  24. private String name;
  25. /**
  26. * 创建人
  27. */
  28. private String createBy;
  29. /**
  30. * 创建时间
  31. */
  32. @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
  33. @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  34. private Date createTime;
  35. /**
  36. * 开始时间
  37. */
  38. @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
  39. @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  40. private Date beginDate;
  41. /**
  42. * 结束时间
  43. */
  44. @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
  45. @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  46. private Date endDate;
  47. /**
  48. * 状态 1正常 0冻结
  49. */
  50. @Dict(dicCode = "tenant_status")
  51. private Integer status;
  52. }