package thyyxxk.webserver.entity.dictionary;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

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

/**
 * @Description: 科室字典表
 * @Author: hsh
 * @CreateTime: 2023-10-16  15:01
 * @Version: 1.0
 */
@Data
@TableName(value = "zd_unit_code")
public class ZdUnitCode implements Serializable {

    private static final long serialVersionUID = -1L;

    @TableId(value = "code", type = IdType.NONE)
    private String code;
    private String name;
    private String classCode;
    private String pyCode;
    private String dCode;
    private String mzFlag;
    private String delFlag;
    private String nCode;
    private String upperUnit1;
    private String upperName1;
    private String kqksCode;
    private String kqksName;
    private String flag;
    private String abbnm;
    private String yjFlag;
    private String mzrcFlag;
    private String parentCode;
    private String sqFlag;
    private String ghChargeFlag;
    private String officePos;
    private String supplyFlag;
    private String xnhDeptCode;
    private String xnhDeptName;
    private String ghjzFlag;
    private String parentCodeHs;
    private String sortCode;
    private String opId;
    private String opDate;
    private String siCaty;
    private String wjwCode;
    private Integer inpatientFlag;
    private Integer unitNum;
    private BigDecimal ksZkl;
    private Integer hzDay;
    private String deptDescribe;

    @TableField(exist = false)
    private String newFlag;
    /**
     * 科室分类名称
     **/
    @TableField(exist = false)
    private String className;
    /**
     * 父科室名称
     **/
    @TableField(exist = false)
    private String parentName;

}
