package com.bcxin.api.interfaces.tenants.criterias;

import com.bcxin.Infrastructures.enums.TrueFalseStatus;
import com.bcxin.api.interfaces.CriteriaAbstract;
import lombok.Data;

import java.util.Collection;
import java.util.Date;

@Data
public class EmployeeLeaveCriteria extends CriteriaAbstract {
    private String keyword;

    private Date startDate;

    private Date endDate;

    /**
     * 是否投保
     */
    private TrueFalseStatus insure;

    private Collection<String> departIds;

    private Collection<String> treeCodes;

    public EmployeeLeaveCriteria(){};

    public EmployeeLeaveCriteria(String keyword) {
        this.keyword = keyword;
    }
}
