dd24e9a83d7aeca08181e4ee8c0f3e53114ee0ca.svn-base 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. package org.jeecg.modules.system.entity;
  2. import java.io.Serializable;
  3. import java.time.LocalDateTime;
  4. import java.util.Date;
  5. import org.jeecgframework.poi.excel.annotation.Excel;
  6. import org.springframework.format.annotation.DateTimeFormat;
  7. import com.baomidou.mybatisplus.annotation.IdType;
  8. import com.baomidou.mybatisplus.annotation.TableId;
  9. import com.fasterxml.jackson.annotation.JsonFormat;
  10. import lombok.Data;
  11. import lombok.EqualsAndHashCode;
  12. import lombok.experimental.Accessors;
  13. /**
  14. * <p>
  15. * 角色表
  16. * </p>
  17. *
  18. * @Author scott
  19. * @since 2018-12-19
  20. */
  21. @Data
  22. @EqualsAndHashCode(callSuper = false)
  23. @Accessors(chain = true)
  24. public class SysRole implements Serializable {
  25. private static final long serialVersionUID = 1L;
  26. /**
  27. * id
  28. */
  29. @TableId(type = IdType.ASSIGN_ID)
  30. private String id;
  31. /**
  32. * 角色名称
  33. */
  34. @Excel(name="角色名",width=15)
  35. private String roleName;
  36. /**
  37. * 角色编码
  38. */
  39. @Excel(name="角色编码",width=15)
  40. private String roleCode;
  41. /**
  42. * 描述
  43. */
  44. @Excel(name="描述",width=60)
  45. private String description;
  46. /**
  47. * 创建人
  48. */
  49. private String createBy;
  50. /**
  51. * 创建时间
  52. */
  53. @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
  54. @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  55. private Date createTime;
  56. /**
  57. * 更新人
  58. */
  59. private String updateBy;
  60. /**
  61. * 更新时间
  62. */
  63. @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
  64. @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  65. private Date updateTime;
  66. }