package com.bonus.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.time.LocalDateTime;

@ApiModel("人员资料表")
@Data
public class CustInfo {
   private static final long serialVersionUID = 1L;
   @ApiModelProperty("主键自增")
   private Long id;
   @ApiModelProperty("人员id")
   private @NotNull() Long custId;
   @ApiModelProperty("人员编号")
   private @NotBlank() String custNum;
   @ApiModelProperty("人员姓名")
   private @NotBlank() String custName;
   @ApiModelProperty("人员姓名")
   private String custNameLike;
   @ApiModelProperty("人员限制id")
   private Integer custLimitId;
   @ApiModelProperty("第三方人员id")
   private String custThirdId;
   @ApiModelProperty("推送到设备上，生成的用户id")
   private String custDeviceId;
   @ApiModelProperty("手机号")
   private String mobile;
   @ApiModelProperty("手机尾号")
   private String mobileSuffix;
   @ApiModelProperty("登录密码")
   private String pwd;
   @ApiModelProperty("身份证号")
   private String idCard;
   @ApiModelProperty("邮箱")
   private String email;
   @ApiModelProperty("性别 1-男 2-女")
   private Integer sex;
   @ApiModelProperty("年龄")
   private Integer age;
   @ApiModelProperty("生日")
   private LocalDate birthday;
   @ApiModelProperty("民族编码")
   private Integer ethnicityCode;
   @ApiModelProperty("籍贯")
   private String nativePlace;
   @ApiModelProperty("人脸照片地址")
   private String custPhotoUrl;
   @ApiModelProperty("头像地址")
   private String headPortraitUrl;
   @ApiModelProperty("所属组织id")
   private @NotNull() Long orgId;
   @ApiModelProperty("机构编号")
   private String orgNum;
   @ApiModelProperty("机构全称")
   private String orgFullName;
   @ApiModelProperty("成本中心id")
   private Long costCenterId;
   @ApiModelProperty("所属位置")
   private Long placeId;
   @ApiModelProperty("所属位置名称")
   private String placeFullName;
   @ApiModelProperty("人员类别")
   private Integer psnType;
   @ApiModelProperty("人员类别名称")
   private String psnTypeName;
   @ApiModelProperty("家庭地址")
   private String homeAddr;
   @ApiModelProperty("QQ")
   private String qq;
   @ApiModelProperty("微信")
   private String wechat;
   @ApiModelProperty("企业微信")
   private String companyWechat;
   @ApiModelProperty("钉钉")
   private String dingtalk;
   @ApiModelProperty("支付宝openid")
   private String alipayOpenid;
   @ApiModelProperty("紧急联系人")
   private String emerContactPerson;
   @ApiModelProperty("紧急联系电话")
   private String emerContactNum;
   @ApiModelProperty("紧急联系人身份证号")
   private String emerContactCard;
   @ApiModelProperty("职位")
   private String job;
   @ApiModelProperty("职位等级")
   private String jobRank;
   @ApiModelProperty("职位级别")
   private String jobLevel;
   @ApiModelProperty("职称")
   private String jobTitle;
   @ApiModelProperty("职称等级")
   private String jobTitleRank;
   @ApiModelProperty("编制")
   private String authStrength;
   @ApiModelProperty("职务")
   private String position;
   @ApiModelProperty("入职日期")
   private LocalDate entryDate;
   @ApiModelProperty("合同签订日期")
   private LocalDate signingDate;
   @ApiModelProperty("合同到期日期")
   private LocalDate expiryDate;
   @ApiModelProperty("人员状态 1-正常 2-注销")
   private Integer custState;
   @ApiModelProperty("点赞调查批次号")
   private Long likeBatch;
   @ApiModelProperty("乐观锁")
   private Integer revision;
   @ApiModelProperty("创建人")
   private String crby;
   @ApiModelProperty("创建时间")
   private LocalDateTime crtime;
   @ApiModelProperty("更新人")
   private String upby;
   @ApiModelProperty("更新时间")
   private LocalDateTime uptime;
   @ApiModelProperty("就诊号")
   private String doctorNum;
   @ApiModelProperty("住院号")
   private String hospitalNum;
   @ApiModelProperty("医嘱")
   private String doctorInstruct;
   @ApiModelProperty("住院日期")
   private LocalDateTime hospitalDate;
   @ApiModelProperty("最近下单时间")
   private LocalDateTime orderTime;
   @ApiModelProperty("银行卡号")
   private String bankCardNum;
   @ApiModelProperty("扩展字段1(日期 yyyy-MM-dd)")
   private LocalDate extendDate;
   @ApiModelProperty("扩展字段2(日期 yyyy-MM-dd HH:mm:ss)")
   private LocalDateTime extendDateTime;
   @ApiModelProperty("扩展字段3(字符串)")
   private String extendStr1;
   @ApiModelProperty("扩展字段4(字符串)")
   private String extendStr2;
   @ApiModelProperty("婚姻状态 0-保密 1-未婚 2-已婚")
   private Integer maritalStatus;

}
