package thyyxxk.webserver.entity.querydata;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 新冠接种预约
 * </p>
 *
 * @author 肖蟾
 * @since 2021-03-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TCovidVaccinateAppointment对象", description="新冠接种预约")
public class CovidVaccinateAppointment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "门诊id")
    private String patientId;

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

    @ApiModelProperty(value = "性别")
    private Integer sex;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "身份证号")
    private String socialNo;

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

    @ApiModelProperty(value = "工作单位")
    private String corpName;

    @ApiModelProperty(value = "工作性质")
    private Integer jobCategory;

    private String jobCategoryToString;

    @ApiModelProperty(value = "预约创建时间")
    private Date createDatetime;

    @ApiModelProperty(value = "预约接种时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date executeDate;

    private Integer delFlag;

    private long currentPage;

    private long pageSize;

    private Integer vaccinateCode;

    private String vaccinateName;

    private String vaccinateFactory;
}
