package thyyxxk.webserver.entity.medicaladvice.medicamanage.patientinfo;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * ${comments}
 * 
 * @author lh
 * @email lihong@gmail.com
 * @date 2023-06-01 17:16:48
 */
@Data
public class ZyBedMi implements Serializable {
	private static final long serialVersionUID = 1L;

	public String admissDiagStr;
	public String zyDoctorName;
	public String smallDeptName;
	public String balance;
	public String birthDate;
	public String currentDate;

	/**
	 * 床铺状态空闲
	 */
	public static String BED_STATUS_FREE = "1";
	/**
	 * 床铺状态有人
	 */
	public static String BED_STATUS_HOLD_UP = "2";
	/**
	 * 床铺状态号床
	 */
	public static String BED_STATUS_OTHER = "3";

	/**
	 * $column.comments
	 */
	private String icuFlag;
	/**
	 * $column.comments
	 */
	private String wardCode;
	/**
	 * $column.comments
	 */
	private String inpatientNo;
	/**
	 * $column.comments
	 */
	private Float roomRate2;
	/**
	 * $column.comments
	 */
	private String chargeCodeAir;
	/**
	 * $column.comments
	 */
	private String deptCode;
	/**
	 * $column.comments
	 */
	private Float percent2;
	/**
	 * $column.comments
	 */
	private Float heatingFee;
	/**
	 * $column.comments
	 */
	private BigDecimal specialCharge;
	/**
	 * $column.comments
	 */
	private String zySerialNo;
	/**
	 * $column.comments
	 */
	private String bedStatus;
	/**
	 * $column.comments
	 */
	private Float percent5;
	/**
	 * $column.comments
	 */
	private String chargeCodeBed;
	/**
	 * $column.comments
	 */
	private String bedNo;
	/**
	 * $column.comments
	 */
	private Date effDate1;
	/**
	 * $column.comments
	 */
	private String type;
	/**
	 * $column.comments
	 */
	private String chargeCodeHeat;
	/**
	 * $column.comments
	 */
	private String roomNo;
	/**
	 * $column.comments
	 */
	private Float airconditionFee;
	/**
	 * $column.comments
	 */
	private Float percent3;
	/**
	 * $column.comments
	 */
	private String remark;
	/**
	 * $column.comments
	 */
	private Integer admissTimes;
	/**
	 * $column.comments
	 */
	private Float percent4;
	/**
	 * $column.comments
	 */
	private Date effDate2;
	/**
	 * $column.comments
	 */
	private String sex;
	/**
	 * $column.comments
	 */
	private Float percent1;
	/**
	 * $column.comments
	 */
	private String bedPos;
	/**
	 * $column.comments
	 */
	private Float roomRate1;
	/**
	 * $column.comments
	 */
	private String heatcoldFlag;

	private String name;
	private String sexName;
	/**管床医生 */
	private String referPhysician;
	private String referPhysicianName;
	/**医保类型*/
	private String responceType;
	private String startVisitDate;
	private String endVisitDate;
	private String responceTypeName;

	private Date admissDate;

	public String getSexName(){
		if(sex == null) return "";
		switch (sex) {
			case "1":
                return "男";
            case "2":
                return "女";
            default:
                return "未知";
		}
	}

}
