package cn.ibizlab.ehr.core.pcm.filter;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.fastjson.annotation.JSONField;

import org.springframework.util.ObjectUtils;
import org.springframework.util.StringUtils;


import cn.ibizlab.ehr.util.filter.QueryWrapperContext;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import cn.ibizlab.ehr.core.pcm.domain.PCMAWARDSWONS;
/**
 * 关系型数据实体[PCMAWARDSWONS] 查询条件对象
 */
@Slf4j
@Data
public class PCMAWARDSWONSSearchContext extends QueryWrapperContext<PCMAWARDSWONS> {

	private String n_awardlevel_eq;//[获奖等级]
	public void setN_awardlevel_eq(String n_awardlevel_eq) {
        this.n_awardlevel_eq = n_awardlevel_eq;
        if(!ObjectUtils.isEmpty(this.n_awardlevel_eq)){
            this.getSelectCond().eq("awardlevel", n_awardlevel_eq);
        }
    }
	private String n_flag_eq;//[是否有效]
	public void setN_flag_eq(String n_flag_eq) {
        this.n_flag_eq = n_flag_eq;
        if(!ObjectUtils.isEmpty(this.n_flag_eq)){
            this.getSelectCond().eq("flag", n_flag_eq);
        }
    }
	private String n_pcmawardswonsname_like;//[获奖情况名称]
	public void setN_pcmawardswonsname_like(String n_pcmawardswonsname_like) {
        this.n_pcmawardswonsname_like = n_pcmawardswonsname_like;
        if(!ObjectUtils.isEmpty(this.n_pcmawardswonsname_like)){
            this.getSelectCond().like("pcmawardswonsname", n_pcmawardswonsname_like);
        }
    }
	private String n_pcmprofilename_eq;//[姓名]
	public void setN_pcmprofilename_eq(String n_pcmprofilename_eq) {
        this.n_pcmprofilename_eq = n_pcmprofilename_eq;
        if(!ObjectUtils.isEmpty(this.n_pcmprofilename_eq)){
            this.getSelectCond().eq("pcmprofilename", n_pcmprofilename_eq);
        }
    }
	private String n_pcmprofilename_like;//[姓名]
	public void setN_pcmprofilename_like(String n_pcmprofilename_like) {
        this.n_pcmprofilename_like = n_pcmprofilename_like;
        if(!ObjectUtils.isEmpty(this.n_pcmprofilename_like)){
            this.getSelectCond().like("pcmprofilename", n_pcmprofilename_like);
        }
    }
	private String n_pcmprofileid_eq;//[应聘者ID]
	public void setN_pcmprofileid_eq(String n_pcmprofileid_eq) {
        this.n_pcmprofileid_eq = n_pcmprofileid_eq;
        if(!ObjectUtils.isEmpty(this.n_pcmprofileid_eq)){
            this.getSelectCond().eq("pcmprofileid", n_pcmprofileid_eq);
        }
    }

    /**
	 * 启用快速搜索
	 */
	public void setQuery(String query)
	{
		 this.query=query;
		 if(!StringUtils.isEmpty(query)){
			this.getSelectCond().or().like("pcmawardswonsname",query);
		 }
	}
}




