161 lines
2.4 KiB
Plaintext
161 lines
2.4 KiB
Plaintext
package com.nationalelectric.greenH5.po;
|
|
|
|
import org.hibernate.validator.constraints.NotBlank;
|
|
import java.util.Date;
|
|
|
|
/**
|
|
* GreenRoleCompetenceRel
|
|
* @author dell
|
|
*/
|
|
public class GreenRoleCompetenceRel implements java.io.Serializable {
|
|
|
|
/**
|
|
* 序列化
|
|
*/
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
/**
|
|
*主键ID
|
|
*/
|
|
|
|
private Long id;
|
|
|
|
/**
|
|
*角色ID
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private Long roleId;
|
|
|
|
/**
|
|
*角色名称
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String roleName;
|
|
|
|
/**
|
|
*权限ID
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private Long competenceId;
|
|
|
|
/**
|
|
*权限名称
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String competenceName;
|
|
|
|
/**
|
|
*创建者
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String creator;
|
|
|
|
/**
|
|
*修改者
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String modifier;
|
|
|
|
/**
|
|
*创建时间
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private Date gmtCreated;
|
|
|
|
/**
|
|
*修改时间
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private Date gmtModified;
|
|
|
|
/**
|
|
*是否删除YN默认N
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String isDeleted;
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getRoleId() {
|
|
return roleId;
|
|
}
|
|
|
|
public void setRoleId(Long roleId) {
|
|
this.roleId = roleId;
|
|
}
|
|
|
|
public String getRoleName() {
|
|
return roleName;
|
|
}
|
|
|
|
public void setRoleName(String roleName) {
|
|
this.roleName = roleName;
|
|
}
|
|
|
|
public Long getCompetenceId() {
|
|
return competenceId;
|
|
}
|
|
|
|
public void setCompetenceId(Long competenceId) {
|
|
this.competenceId = competenceId;
|
|
}
|
|
|
|
public String getCompetenceName() {
|
|
return competenceName;
|
|
}
|
|
|
|
public void setCompetenceName(String competenceName) {
|
|
this.competenceName = competenceName;
|
|
}
|
|
|
|
public String getCreator() {
|
|
return creator;
|
|
}
|
|
|
|
public void setCreator(String creator) {
|
|
this.creator = creator;
|
|
}
|
|
|
|
public String getModifier() {
|
|
return modifier;
|
|
}
|
|
|
|
public void setModifier(String modifier) {
|
|
this.modifier = modifier;
|
|
}
|
|
|
|
public Date getGmtCreated() {
|
|
return gmtCreated;
|
|
}
|
|
|
|
public void setGmtCreated(Date gmtCreated) {
|
|
this.gmtCreated = gmtCreated;
|
|
}
|
|
|
|
public Date getGmtModified() {
|
|
return gmtModified;
|
|
}
|
|
|
|
public void setGmtModified(Date gmtModified) {
|
|
this.gmtModified = gmtModified;
|
|
}
|
|
|
|
public String getIsDeleted() {
|
|
return isDeleted;
|
|
}
|
|
|
|
public void setIsDeleted(String isDeleted) {
|
|
this.isDeleted = isDeleted;
|
|
}
|
|
|
|
|
|
}
|