package com.xinelu.manage.domain.patientblacklist;

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.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 患者-黑明单关系对象 patient_blacklist
 *
 * @author haown
 * @date 2024-02-27
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "患者-黑明单关系对象", description = "patient_blacklist")
public class PatientBlacklist extends BaseEntity {

	private static final long serialVersionUID=1L;

    /** 主键id */
    private Long id;

    /** 患者id */
    private Long patientId;

	/** 所属医院id */
	@ApiModelProperty(value = "所属医院id")
	private Long hospitalAgencyId;

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

	/** 所属院区id */
	@ApiModelProperty(value = "所属院区id")
	private Long campusAgencyId;

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

	/** 所属科室id */
	@ApiModelProperty(value = "所属科室id")
	private Long departmentId;

	/** 所属科室名称 */
	@ApiModelProperty(value = "所属科室名称")
	private String departmentName;

    /** 异常原因字典表id */
    @ApiModelProperty(value = "异常原因字典表id")
    @Excel(name = "异常原因字典表id")
    private Long abnormalCauseId;

    /** 异常原因字典表值 */
    @ApiModelProperty(value = "异常原因字典表值")
    @Excel(name = "异常原因字典表值")
    private String abnormalCauseValue;

    /** 补充说明字典表id */
    private Long supplementIllustrateId;

    /** 补充说明字典表值 */
    private String supplementIllustrateValue;

    /** 功能限制（具体来源未知？） */
    private String functionLimitation;

	/**
	 * 来源(CALL_DETECTION：通话检测，MANUAL_BLACKOUT：手动拉黑, MANUAL_ADDITION：手动添加，HIS_CONNECT：HIS对接)
	 */
    @ApiModelProperty(value = "来源(CALL_DETECTION：通话检测，MANUAL_BLACKOUT：手动拉黑,MANUAL_ADDITION：手动添加，HIS_CONNECT：HIS对接)")
    @Excel(name = "来源(CALL_DETECTION：通话检测，MANUAL_BLACKOUT：手动拉黑,MANUAL_ADDITION：手动添加，HIS_CONNECT：HIS对接)")
    private String blacklistSource;

	/** 删除标识，0：未删除，1：已删除 */
	@ApiModelProperty(value = "删除标识，0：未删除，1：已删除")
	private Integer delFlag;
}
