178 lines
2.5 KiB
Plaintext
178 lines
2.5 KiB
Plaintext
package com.nationalelectric.greenH5.po;
|
|
|
|
import org.hibernate.validator.constraints.NotBlank;
|
|
import java.util.Date;
|
|
|
|
/**
|
|
* GreenDepartment
|
|
* @author dell
|
|
*/
|
|
public class GreenDepartment implements java.io.Serializable {
|
|
|
|
/**
|
|
* 序列化
|
|
*/
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
/**
|
|
*主键ID
|
|
*/
|
|
|
|
private Long id;
|
|
|
|
/**
|
|
*部门名称
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String name;
|
|
|
|
/**
|
|
*部门级别字符串
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String _level;
|
|
|
|
/**
|
|
*父级主键id
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private Long parentId;
|
|
|
|
/**
|
|
*排序号
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private Long seq;
|
|
|
|
/**
|
|
*创建者
|
|
*/
|
|
@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;
|
|
|
|
/**
|
|
*部门排序
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private Integer dpSort;
|
|
|
|
|
|
|
|
|
|
public Integer getDpSort() {
|
|
return dpSort;
|
|
}
|
|
|
|
public void setDpSort(Integer dpSort) {
|
|
this.dpSort = dpSort;
|
|
}
|
|
|
|
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 String get_level() {
|
|
return _level;
|
|
}
|
|
|
|
public void set_level(String _level) {
|
|
this._level = _level;
|
|
}
|
|
|
|
public Long getParentId() {
|
|
return parentId;
|
|
}
|
|
|
|
public void setParentId(Long parentId) {
|
|
this.parentId = parentId;
|
|
}
|
|
|
|
public Long getSeq() {
|
|
return seq;
|
|
}
|
|
|
|
public void setSeq(Long seq) {
|
|
this.seq = seq;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
|
|
}
|