package com.gkhy.testFourierSpecialGasMonitor.domain.account.entity;
|
|
import javax.persistence.*;
|
import java.time.LocalDateTime;
|
|
@Entity
|
@Table(name = "sys_role")
|
public class Role {
|
|
@Id
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
private Long id;
|
|
//角色名
|
@Column
|
private String name;
|
|
//删除标志 0-未删除;1-删除
|
@Column
|
private Byte delFlag;
|
|
@Column
|
private LocalDateTime gmtCreate;
|
|
@Column
|
private LocalDateTime gmtModified;
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public Byte getDelFlag() {
|
return delFlag;
|
}
|
|
public void setDelFlag(Byte delFlag) {
|
this.delFlag = delFlag;
|
}
|
|
public LocalDateTime getGmtCreate() {
|
return gmtCreate;
|
}
|
|
public void setGmtCreate(LocalDateTime gmtCreate) {
|
this.gmtCreate = gmtCreate;
|
}
|
|
public LocalDateTime getGmtModified() {
|
return gmtModified;
|
}
|
|
public void setGmtModified(LocalDateTime gmtModified) {
|
this.gmtModified = gmtModified;
|
}
|
}
|