package com.xinelu.manage.domain.patientinfoimportmain;

import com.xinelu.common.annotation.Excel;
import com.xinelu.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 patient_info_import_main
 *
 * @author xinelu
 * @date 2024-11-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "【请填写功能名称】对象", description = "patient_info_import_main")
public class PatientInfoImportMain extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 流水号
     */
    @ApiModelProperty(value = "流水号")
    @Excel(name = "流水号")
    private String sn;

    /**
     * 导入人员所属机构ID
     */
    @ApiModelProperty(value = "导入人员所属机构ID")
    @Excel(name = "导入人员所属机构ID")
    private Long hospitalAgencyId;

    /**
     * 所属医院名称
     */
    @ApiModelProperty(value = "所属医院名称")
    @Excel(name = "所属医院名称")
    private String hospitalAgencyName;

    /**
     * 附件名称
     */
    @ApiModelProperty(value = "附件名称")
    @Excel(name = "附件名称")
    private String fileName;

    /**
     * 已随访：FOLLOWED;未随访：NOT_FOLLOWED；PARTIAL_FOLLOWED
     */
    @ApiModelProperty(value = "已随访：FOLLOWED;未随访：NOT_FOLLOWED；PARTIAL_FOLLOWED")
    @Excel(name = "已随访：FOLLOWED;未随访：NOT_FOLLOWED；PARTIAL_FOLLOWED")
    private String followupStatus;

    /**
     * 已随访人数
     */
    @ApiModelProperty(value = "已随访人数")
    @Excel(name = "已随访人数")
    private Long followupCount;

    /**
     * 患者导入情况：FINISHED：已完成；UNFINISHED：未完成；NULL表示未完成
     */
    @ApiModelProperty(value = "患者导入情况")
    @Excel(name = "患者导入情况")
    private String importStatus;

    /**
     * 导入批次名称
     */
    @ApiModelProperty(value = "导入批次名称")
    @Excel(name = "导入批次名称")
    private String importName;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("sn", getSn())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("hospitalAgencyId", getHospitalAgencyId())
                .append("hospitalAgencyName", getHospitalAgencyName())
                .append("fileName", getFileName())
                .append("followupStatus", getFollowupStatus())
                .append("followupCount", getFollowupCount())
                .toString();
    }
}