AddygdaDto.java 2.79 KB
Newer Older
yuquan.zhu committed
1 2 3 4 5 6 7 8 9 10
/**
 * @date 2019年11月16日  
 * @author 翁东州
 * @方法中文名称:
 */
package cn.timer.api.dto.yggl;

import java.io.Serializable;
import java.util.Date;

11 12
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
13
import javax.validation.constraints.Pattern;
14

ilal committed
15 16
import com.alibaba.fastjson.annotation.JSONField;

17
import cn.timer.api.config.exception.Regular;
18
import cn.timer.api.config.exception.ValidationMsg;
yuquan.zhu committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
import cn.timer.api.utils.Page;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @date 2019年11月16日  
 * @author 翁东州
 * @方法中文名称:
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AddygdaDto extends Page implements Serializable{
	
	private static final long serialVersionUID = -1230023773946170942L;

39
	@NotBlank(message = ValidationMsg.NOTBLANK)
yuquan.zhu committed
40 41 42
	@ApiModelProperty(value="员工姓名",example="华仔")
	private String name;

43
	@NotBlank(message = ValidationMsg.NOTBLANK)
44
	@Pattern(regexp=Regular.PHONE,message = ValidationMsg.PATTERN)
yuquan.zhu committed
45 46 47
	@ApiModelProperty(value="手机号",example="101")
	private String phone;
	
284718418@qq.com committed
48
	/*@NotNull(message = ValidationMsg.NOTNULL)*/
yuquan.zhu committed
49 50 51
	@ApiModelProperty(value="证件类型 0:身份证;1:港澳居民来往内地通行证;2:台湾居民来往大陆通行证;3:外国护照;4:其他",example="0")
    private Integer zjType;
    
284718418@qq.com committed
52
	/*@NotBlank(message = ValidationMsg.NOTBLANK)*/
yuquan.zhu committed
53 54 55
	@ApiModelProperty(value="证件号码 ",example="证件号码")
    private String zjNum;
	
284718418@qq.com committed
56
	/*@NotNull(message = ValidationMsg.NOTNULL)*/
yuquan.zhu committed
57 58 59
	@ApiModelProperty(value="工作性质 0全职、1实习生、2兼职、3劳务派遣、4劳务、5派遣、6外包、7退休返聘",example="0")
    private Integer jobType;
	
60
//	@NotNull(message = ValidationMsg.NOTNULL)
ilal committed
61
	@JSONField(format="yyyy-MM-dd") 
yuquan.zhu committed
62 63 64
	@ApiModelProperty(value="入职日期 ",example="客户注册后的时间为入职时间")
    private Date rzTime;
	
284718418@qq.com committed
65
	/*@NotNull(message = ValidationMsg.NOTNULL)*/
yuquan.zhu committed
66 67 68
	@ApiModelProperty(value="试用期 0:无试用期;1:1个月;2:2个月;3:3个月;4:4个月;5:5个月;6:6个月(有试用期显示选项)",example="0")
    private Integer syq;
	
69
	@NotNull(message = ValidationMsg.NOTNULL)
yuquan.zhu committed
70 71
	@ApiModelProperty(value="性别 0:男;1:女",example="0")
    private Integer sex;
72
	
73 74
	@ApiModelProperty(value="部门岗位id",example="0")
    private Integer bmgwId;
75
	
ilal committed
76 77 78 79 80
	@ApiModelProperty(value="自定义工号",example="1001")
	private String customNum;
	
	@ApiModelProperty(value="考勤组id",example="0")
    private Integer attgroupid;
284718418@qq.com committed
81 82 83 84 85 86

	@ApiModelProperty(value="对应合同公司字典ID",example="0")
    private Integer zpglCompanyId;

	@ApiModelProperty(value="对应工作地点典ID",example="0")
	private Integer zpglGzddId;
ilal committed
87
	
88
	
yuquan.zhu committed
89
}