package com.zhgd.xmgl.modules.basicdata.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "人员信息(DTO)", description = "WorkerInfoDto")
public class WorkerInfoDto {

    @ApiModelProperty(value = "人员ID")
    private Long id;

    @ApiModelProperty(value = "人员sn")
    private String personSn;

    @ApiModelProperty(value = "人像信息")
    private String portrait;

    @ApiModelProperty(value = "姓名")
    private String personName;

    @ApiModelProperty(value = "人员类别(1:管理;2:工人)")
    private Integer personType;

    @ApiModelProperty(value = "人员状态  1在场  2离场")
    private Integer inServiceType;

    @ApiModelProperty(value = "手机号")
    private String phone;
   
    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "参建单位")
    private String companyName;

    @ApiModelProperty(value = "单位类型")
    private String companyType;

    @ApiModelProperty(value = "班组")
    private String teamName;

    @ApiModelProperty(value = "工种")
    private String workerTypeName;

    @ApiModelProperty(value = "开始工作时间")
    private Date entryTime;

    @ApiModelProperty(value = "退场时间")
    private Date exitTime;

    @ApiModelProperty(value = "生日")
    private Date birthday;

    @ApiModelProperty(value = "年龄")
    private Integer age;
}
