229 lines
3.7 KiB
Plaintext
229 lines
3.7 KiB
Plaintext
package com.nationalelectric.greenH5.po;
|
|
|
|
import org.hibernate.validator.constraints.NotBlank;
|
|
import java.util.Date;
|
|
|
|
import javax.validation.constraints.Pattern;
|
|
import javax.validation.constraints.Size;
|
|
|
|
/**
|
|
* GreenStaffCardInfo
|
|
* @author dell
|
|
*/
|
|
public class GreenStaffCardInfo implements java.io.Serializable {
|
|
|
|
/**
|
|
* 序列化
|
|
*/
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
/**
|
|
*主键ID
|
|
*/
|
|
|
|
private Long id;
|
|
|
|
/**
|
|
*所属部门id
|
|
*/
|
|
private Long deptId;
|
|
|
|
/**
|
|
*所属部门名称
|
|
*/
|
|
@NotBlank(message="所属部门不能为空")
|
|
private String deptName;
|
|
|
|
/**
|
|
*员工姓名
|
|
*/
|
|
@NotBlank(message="员工姓名不能为空")
|
|
@Size(max=20, message="员工姓名长度不能超过20位")
|
|
private String staffName;
|
|
|
|
/**
|
|
*身份证号
|
|
*/
|
|
@NotBlank(message="身份证号不能为空")
|
|
@Pattern(regexp="(^[1-9]\\d{5}(18|19|20)\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$)|(^[1-9]\\d{5}\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}$)", message="项目负责人身份证号格式有误,请重新输入!")
|
|
private String idcardNo;
|
|
|
|
/**
|
|
*入职单调令照片
|
|
*/
|
|
@NotBlank(message="入职单调令照片不能为空")
|
|
private String entryOrderPic;
|
|
|
|
/**
|
|
*申请时间
|
|
*/
|
|
private String applyTime;
|
|
|
|
/**
|
|
*创建者
|
|
*/
|
|
private String creator;
|
|
|
|
/**
|
|
*修改者
|
|
*/
|
|
private String modifier;
|
|
|
|
/**
|
|
*创建时间
|
|
*/
|
|
private Date gmtCreated;
|
|
|
|
/**
|
|
*修改时间
|
|
*/
|
|
private Date gmtModified;
|
|
|
|
/**
|
|
*是否删除YN默认N
|
|
*/
|
|
private String isDeleted;
|
|
|
|
/**
|
|
*用户ID
|
|
*/
|
|
private String userId;
|
|
|
|
/**
|
|
* 图片外键
|
|
* @return
|
|
*/
|
|
private String entryOrderPicData;
|
|
/**
|
|
* 图片状态
|
|
*/
|
|
|
|
private Integer imgStatus;
|
|
|
|
|
|
|
|
public String getEntryOrderPicData() {
|
|
return entryOrderPicData;
|
|
}
|
|
|
|
public void setEntryOrderPicData(String entryOrderPicData) {
|
|
this.entryOrderPicData = entryOrderPicData;
|
|
}
|
|
|
|
|
|
public Integer getImgStatus() {
|
|
return imgStatus;
|
|
}
|
|
|
|
public void setImgStatus(Integer imgStatus) {
|
|
this.imgStatus = imgStatus;
|
|
}
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getDeptId() {
|
|
return deptId;
|
|
}
|
|
|
|
public void setDeptId(Long deptId) {
|
|
this.deptId = deptId;
|
|
}
|
|
|
|
public String getDeptName() {
|
|
return deptName;
|
|
}
|
|
|
|
public void setDeptName(String deptName) {
|
|
this.deptName = deptName;
|
|
}
|
|
|
|
public String getStaffName() {
|
|
return staffName;
|
|
}
|
|
|
|
public void setStaffName(String staffName) {
|
|
this.staffName = staffName;
|
|
}
|
|
|
|
public String getIdcardNo() {
|
|
return idcardNo;
|
|
}
|
|
|
|
public void setIdcardNo(String idcardNo) {
|
|
this.idcardNo = idcardNo;
|
|
}
|
|
|
|
public String getEntryOrderPic() {
|
|
return entryOrderPic;
|
|
}
|
|
|
|
public void setEntryOrderPic(String entryOrderPic) {
|
|
this.entryOrderPic = entryOrderPic;
|
|
}
|
|
|
|
public String getApplyTime() {
|
|
return applyTime;
|
|
}
|
|
|
|
public void setApplyTime(String applyTime) {
|
|
this.applyTime = applyTime;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
public String getUserId() {
|
|
return userId;
|
|
}
|
|
|
|
public void setUserId(String userId) {
|
|
this.userId = userId;
|
|
}
|
|
|
|
}
|