package com.xinelu.manage.domain.patientblacklistabnormalcause;

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;

/**
 * 患者黑名单异常原因对象 patient_blacklist_abnormal_cause
 *
 * @author haown
 * @date 2024-03-01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "患者黑名单异常原因对象", description = "patient_blacklist_abnormal_cause")
public class PatientBlacklistAbnormalCause extends BaseEntity {
	private static final long serialVersionUID=1L;

    /** 主键 */
    private Long id;

    /** 上级id */
    @ApiModelProperty(value = "上级id")
    @Excel(name = "上级id")
    private Long parentId;

    /** 异常原因代码 */
    @ApiModelProperty(value = "异常原因代码")
    @Excel(name = "异常原因代码")
    private String abnormalCauseCode;

    /** 异常原因描述 */
    @ApiModelProperty(value = "异常原因描述")
    @Excel(name = "异常原因描述")
    private String abnormalCauseValue;

    /** 异常原因级别（异常原因：ABNORMAL_CAUSE，补充说明：SUPPLEMENT） */
    @ApiModelProperty(value = "异常原因级别,（异常原因：ABNORMAL_CAUSE，补充说明：SUPPLEMENT）")
    @Excel(name = "异常原因级别", readConverterExp = "异=常原因：ABNORMAL_CAUSE，补充说明：SUPPLEMENT")
    private String abnormalCauseLevel;

    /** 状态（0正常 1停用） */
    @ApiModelProperty(value = "状态")
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

}
