package thyyxxk.webserver.entity.medicalinsurance.download;

import java.io.Serializable;

import lombok.Data;

@Data
public class SiDlMdcnSrvc implements Serializable {

	private static final long serialVersionUID =  6396645243179776690L;

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

	/**
	 * 计价单位
	 */
	private String chargeUnit;

	/**
	 * 计价单位名称
	 */
	private String valofName;

	/**
	 * descriptions
	 */
	private String descriptions;

	/**
	 * excludeContent
	 */
	private String excludeContent;

	/**
	 * connotation
	 */
	private String connotation;

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

	/**
	 * 备注
	 */
	private String remarks;

	/**
	 * serviceCategory
	 */
	private String serviceCategory;

	/**
	 * serviceName
	 */
	private String serviceName;

	/**
	 * 项目说明
	 */
	private String entrySpecification;

	/**
	 * startDate
	 */
	private String startDate;

	/**
	 * endDate
	 */
	private String endDate;

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

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

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

	public SiDlMdcnSrvc() {
	}

	public SiDlMdcnSrvc(String tempstr) {
		String[] tempArr = tempstr.split("\t");
		int maxLength = Math.max(tempArr.length, 16);
		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];
		chargeUnit = arr[1];
		valofName = arr[2];
		descriptions = arr[3];
		excludeContent = arr[4];
		connotation = arr[5];
		validFlag = arr[6];
		remarks = arr[7];
		serviceCategory = arr[8];
		serviceName = arr[9];
		entrySpecification = arr[10];
		startDate = arr[11];
		endDate = arr[12];
		uniqueRecordNumber = arr[13];
		versionNumber = arr[14];
		versionName = arr[15];
	}
}
