package thyyxxk.webserver.entity.nationalmatch;

import lombok.Data;

/**
 * @description: 所有本地目录的标准返回
 * @author: DingJie
 * @create: 2021-06-10 14:55:18
 **/
@Data
public class StandardLocalItem {
    private String id;
    // 1-国家医保  2-工伤医保
    private Integer ybType;
    // aaz231
    private String injuryUniqueId;
    // ake003
    private String catalogueType;
    // bke215
    private String fundType;
    // 1-西药/中成药，2-中草药，3-项目，4-耗材
    private Integer type;
    private Integer opType;
    private String code;
    private String name;
    private String unit;
    private String serial;
    private String dosage;
    private String specification;
    private String approvalNumber;
    private String factory;
    private String discription;
    private String standardCode;
    private String price;
    private String nationalCode;
    private String nationalName;
    private String startTime;
    private String endTime;
    private String localName;
    private Integer uploadedFlag;
    private String fuzzyName;
    private String opStaff;

    public String getFuzzyName() {
        String tmp = null == fuzzyName ? "%%" : (fuzzyName).trim();
        if (!tmp.contains("%")) {
            tmp = "%" + tmp + "%";
        }
        return tmp;
    }
}
