package thyyxxk.webserver.entity.medicalinsurance.download;

import java.io.Serializable;

import lombok.Data;

@Data
public class SiDlChnsHbl implements Serializable {

    private static final long serialVersionUID = 362772261715315275L;

    /**
     * 医疗目录编码
     */
    private String code;

    /**
     * 单味药名称
     */
    private String monooName;

    /**
     * 单复方标志
     */
    private String singleCompoundMark;

    /**
     * 质量等级
     */
    private String qualityGrade;

    /**
     * 中草药年份
     */
    private String herbalMedicineYear;

    /**
     * 药用部位
     */
    private String medicinalSite;

    /**
     * 安全计量
     */
    private String safetyMeasurement;

    /**
     * 常规用法
     */
    private String generalUsage;

    /**
     * 性味
     */
    private String propertyAndFlavor;

    /**
     * 归经
     */
    private String channelTropism;

    /**
     * 品种
     */
    private String variety;

    /**
     * 开始日期
     */
    private String startTime;

    /**
     * 结束日期
     */
    private String endTime;

    /**
     * 有效标志
     */
    private String validFlag;

    /**
     * 唯一记录号
     */
    private String uniqueRecordNumber;

    /**
     * 数据创建时间
     */
    private String dataCreationTime;

    /**
     * 数据更新时间
     */
    private String dataUpdateTime;

    /**
     * 版本号
     */
    private String versionNumber;

    /**
     * 版本名称
     */
    private String versionName;

    /**
     * 药材名称
     */
    private String medicalMaterialsName;

    /**
     * 功能主治
     */
    private String functionalGovernance;

    /**
     * 炮制方法
     */
    private String processingMethod;

    /**
     * 功效分类
     */
    private String efficacyClassification;

    /**
     * 药材种来源
     */
    private String medicinalMaterialsSource;

    /**
     * 国家医保支付政策
     */
    private String nationalPaymentPolicy;

    /**
     * 省级医保支付政策
     */
    private String provincialPaymentPolicy;

    /**
     * 标准名称
     */
    private String standardName;

    /**
     * 标准页码
     */
    private String standardPageNumber;

    /**
     * 标准电子档案
     */
    private String standardElectronicArchives;

    public SiDlChnsHbl() {
    }

    public SiDlChnsHbl(String tempstr) {
        String[] tempArr = tempstr.split("\t");
        int maxLength = Math.max(tempArr.length, 29);
        String[] arr = new String[maxLength];
        for (int i = 0; i < tempArr.length; i++) {
            if (null == tempArr[i] || tempArr[i].trim().equals("null")) {
                tempArr[i] = null;
            } else {
                tempArr[i] = tempArr[i].trim();
            }
            arr[i] = tempArr[i];
        }
        code = arr[0];
        monooName = arr[1];
        singleCompoundMark = arr[2];
        qualityGrade = arr[3];
        herbalMedicineYear = arr[4];
        medicinalSite = arr[5];
        safetyMeasurement = arr[6];
        generalUsage = arr[7];
        propertyAndFlavor = arr[8];
        channelTropism = arr[9];
        variety = arr[10];
        startTime = arr[11];
        endTime = arr[12];
        validFlag = arr[13];
        uniqueRecordNumber = arr[14];
        dataCreationTime = arr[15];
        dataUpdateTime = arr[16];
        versionNumber = arr[17];
        versionName = arr[18];
        medicalMaterialsName = arr[19];
        functionalGovernance = arr[20];
        processingMethod = arr[21];
        efficacyClassification = arr[22];
        medicinalMaterialsSource = arr[23];
        nationalPaymentPolicy = arr[24];
        provincialPaymentPolicy = arr[25];
        standardName = arr[26];
        standardPageNumber = arr[27];
        standardElectronicArchives = arr[28];
    }
}
