package cn.com.basic.face.discern.entity;
|
|
import java.io.Serializable;
|
|
import cn.com.basic.face.discern.common.BaseEntity;
|
|
/**
|
* Department
|
*/
|
public class Department extends BaseEntity implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
public static final String MODEL_NAME = "Department";
|
|
public static final class FieldNames {
|
/**
|
* 部门主键
|
*/
|
public static final String id = "id";
|
/**
|
* 部门名称
|
*/
|
public static final String label = "label";
|
/**
|
* 部门首字母
|
*/
|
public static final String labelSpell = "labelSpell";
|
}
|
|
// 部门主键
|
private Integer id;
|
// 部门名称
|
private String label;
|
// 部门首字母
|
private String labelSpell;
|
|
/**
|
* Get 部门主键
|
*/
|
public Integer getId() {
|
return id;
|
}
|
|
/**
|
* Set 部门主键
|
*/
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
/**
|
* Get 部门名称
|
*/
|
public String getLabel() {
|
return label;
|
}
|
|
/**
|
* Set 部门名称
|
*/
|
public void setLabel(String label) {
|
this.label = label;
|
}
|
|
/**
|
* Get 部门首字母
|
*/
|
public String getLabelSpell() {
|
return labelSpell;
|
}
|
|
/**
|
* Set 部门首字母
|
*/
|
public void setLabelSpell(String labelSpell) {
|
this.labelSpell = labelSpell;
|
}
|
|
public String toString() {
|
return
|
",部门主键 =" + id + ",部门名称 =" + label + ",部门首字母 ="+ labelSpell
|
;
|
}
|
}
|