package cn.com.basic.face.discern.entity;
|
|
import java.io.Serializable;
|
|
import cn.com.basic.face.discern.common.BaseEntity;
|
|
/**
|
* Post
|
*/
|
public class Post extends BaseEntity implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
public static final String MODEL_NAME = "Post";
|
|
public static final class FieldNames {
|
/**
|
* 职位主键
|
*/
|
public static final String id = "id";
|
/**
|
* 职位名称
|
*/
|
public static final String label = "label";
|
}
|
|
// 职位主键
|
private Integer id;
|
// 职位名称
|
private String label;
|
|
/**
|
* 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;
|
}
|
|
public String toString() {
|
return
|
",职位主键 =" + id + ",职位名称 =" + label ;
|
}
|
}
|