content: package io.github.xxyopen.novel.dao.entity;
  
  import com.baomidou.mybatisplus.annotation.IdType;
  import com.baomidou.mybatisplus.annotation.TableId;
  import com.baomidou.mybatisplus.annotation.TableName;
  import java.io.Serializable;
  import java.time.LocalDateTime;
  
  /**
   * <p>
   * 角色
   * </p>
   *
   * @author xiongxiaoyang
   * @date 2022/05/11
   */
  @TableName("sys_role")
  public class SysRole implements Serializable {
  
      private static final long serialVersionUID = 1L;
  
      @TableId(value = "id", type = IdType.AUTO)
      private Long id;
  
      /**
       * 角色名称
       */
      private String roleName;
  
      /**
       * 角色标识
       */
      private String roleSign;
  
      /**
       * 备注
       */
      private String remark;
  
      /**
       * 创建时间
       */
      private LocalDateTime createTime;
  
      /**
       * 更新时间
       */
      private LocalDateTime updateTime;
  
  
      public Long getId() {
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public String getRoleName() {
          return roleName;
      }
  
      public void setRoleName(String roleName) {
          this.roleName = roleName;
      }
  
      public String getRoleSign() {
          return roleSign;
      }
  
      public void setRoleSign(String roleSign) {
          this.roleSign = roleSign;
      }
  
      public String getRemark() {
          return remark;
      }
  
      public void setRemark(String remark) {
          this.remark = remark;
      }
  
      public LocalDateTime getCreateTime() {
          return createTime;
      }
  
      public void setCreateTime(LocalDateTime createTime) {
          this.createTime = createTime;
      }
  
      public LocalDateTime getUpdateTime() {
          return updateTime;
      }
  
      public void setUpdateTime(LocalDateTime updateTime) {
          this.updateTime = updateTime;
      }
  
      @Override
      public String toString() {
          return "SysRole{" +
          "id=" + id +
          ", roleName=" + roleName +
          ", roleSign=" + roleSign +
          ", remark=" + remark +
          ", createTime=" + createTime +
          ", updateTime=" + updateTime +
          "}";
      }
  }
  