12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- package org.jeecg.modules.system.entity;
- import java.io.Serializable;
- import java.time.LocalDateTime;
- import java.util.Date;
- import org.jeecgframework.poi.excel.annotation.Excel;
- import org.springframework.format.annotation.DateTimeFormat;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import lombok.Data;
- import lombok.EqualsAndHashCode;
- import lombok.experimental.Accessors;
- /**
- * <p>
- * 角色表
- * </p>
- *
- * @Author scott
- * @since 2018-12-19
- */
- @Data
- @EqualsAndHashCode(callSuper = false)
- @Accessors(chain = true)
- public class SysRole implements Serializable {
- private static final long serialVersionUID = 1L;
- /**
- * id
- */
- @TableId(type = IdType.ASSIGN_ID)
- private String id;
-
- /**
- * 角色名称
- */
- @Excel(name="角色名",width=15)
- private String roleName;
-
- /**
- * 角色编码
- */
- @Excel(name="角色编码",width=15)
- private String roleCode;
-
- /**
- * 描述
- */
- @Excel(name="描述",width=60)
- private String description;
- /**
- * 创建人
- */
- private String createBy;
- /**
- * 创建时间
- */
- @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
- @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
- private Date createTime;
- /**
- * 更新人
- */
- private String updateBy;
- /**
- * 更新时间
- */
- @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
- @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
- private Date updateTime;
- }
|