com.github.rexsheng.springboot.faster.system.entity.Dept 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_dept")
public class Dept implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* 部门ID
*/
@Id(keyType = KeyType.Auto)
private Integer id;
/**
* 部门名称
*/
private String name;
/**
* 顺序号
*/
private Integer order;
/**
* 上级部门ID
*/
private Integer parentId;
/**
* 状态(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 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 Integer getParentId() {
return parentId;
}
public void setParentId(Integer parentId) {
this.parentId = parentId;
}
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