com.github.rexsheng.springboot.faster.system.entity.Role Maven / Gradle / Ivy
The newest version!
package com.github.rexsheng.springboot.faster.system.entity;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.io.Serial;
/**
* 角色表 实体类。
*
* @author sheng
* @since 2024-04-06
*/
@Table(value = "sys_role")
public class Role implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* 角色ID
*/
@Id(keyType = KeyType.Auto)
private Integer id;
/**
* 角色编码
*/
private String code;
/**
* 角色名称
*/
private String name;
/**
* 显示顺序
*/
private Integer order;
/**
* 备注
*/
private String remark;
/**
* 状态(0正常,1停用)
*/
private Integer status;
/**
* 是否删除(0正常,1已删除)
*/
private Boolean isDel;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 创建人
*/
private Long createUser;
/**
* 修改时间
*/
private LocalDateTime updateTime;
/**
* 修改人
*/
private Long updateUser;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Integer getOrder() {
return order;
}
public void setOrder(Integer order) {
this.order = order;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Boolean getIsDel() {
return isDel;
}
public void setIsDel(Boolean isDel) {
this.isDel = isDel;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public Long getCreateUser() {
return createUser;
}
public void setCreateUser(Long createUser) {
this.createUser = createUser;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
public Long getUpdateUser() {
return updateUser;
}
public void setUpdateUser(Long updateUser) {
this.updateUser = updateUser;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy