package com.zd.airbottle.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zd.airbottle.domain.QpSupplierSyntheticalAudit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;


@ApiModel(value = "运输人员视图类")
@Data
public class QpTransportUserVo {

    /** 主键id,数据唯一标识 */
    @ApiModelProperty(value = "${comment}")
    private Long id;
    /** 姓名 */
    @ApiModelProperty(value = "姓名")
    private String userName;
    /** 手机号码 */
    @ApiModelProperty(value = "手机号码")
    private String phone;
    /** 是否已经审核（0为审核,1已经审核） */
    @ApiModelProperty(value = "是否已经审核")
    private Integer isAudit;
    /** 供应商id */
    @ApiModelProperty(value = "供应商id")
    private Long supplierId;

    /**
     * 供应商名称
     */
    @ApiModelProperty(value = "供应商名称")
    private String companyName;

    @ApiModelProperty(value = "运输人员数量")
    private Integer sum;

    @ApiModelProperty(value = "证照是否过期(0:正常，1：过期)")
    private Integer pastDue;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 供应商人员资质证件集合
     */
    @ApiModelProperty(value = "供应商人员资质证件集合")
    private List<QpTransportUserCredentialsVo> userCredentialsVos;

    private QpSupplierSyntheticalAudit syntheticalAudit;
}
