package com.engine.salary.entity.salaryacct.dto;

import com.engine.salary.common.LocalDateRange;

import java.util.Collection;

/**
 * @description: 薪资核算结果高级搜索
 * @author: xiajun
 * @modified By: xiajun
 * @date: Created in 12/9/21 5:06 PM
 * @version:v1.0
 */
public class SalaryAcctResultSearchConditionDTO {

//    @SalarySearchCondition(
//            label = "姓名",
//            labelId = 85429,
//            needQuickSearch = true,
//            quickSearchKey = "employeeName",
//            items = @SalarySearchConditionItem(itemType = WeaSearchConditionItemType.INPUT, name = "employeeName")
//    )
    private String employeeName;

//    @SalarySearchCondition(
//            label = "个税扣缴义务人",
//            labelId = 86184,
//            items = @SalarySearchConditionItem(itemType = WeaSearchConditionItemType.SELECT, name = "taxAgentId")
//    )
    private Long taxAgentId;

//    @SalarySearchCondition(
//            label = "部门",
//            labelId = 86185,
//            items = @SalarySearchConditionItem(itemType = WeaSearchConditionItemType.BROWSER,
//                    browserType = "department", name = "departmentIds", browserModule = "hrmsalary", browserMultiple = true)
//    )
    private Collection<Long> departmentIds;

//    @SalarySearchCondition(
//            label = "岗位",
//            labelId = 90633,
//            items = @SalarySearchConditionItem(itemType = WeaSearchConditionItemType.BROWSER,
//                    browserType = "position", name = "positionIds", browserModule = "hrmsalary", browserMultiple = true)
//    )
    private Collection<Long> positionIds;

//    @SalarySearchCondition(
//            label = "状态",
//            labelId = 91075,
//            items = @SalarySearchConditionItem(itemType = WeaSearchConditionItemType.SELECT, optionsEnum = SalaryEmployeeStatusEnum.class, name = "status")
//    )
    private String status;

//    @SalarySearchCondition(
//            label = "离职日期",
//            labelId = 95228,
//            items = @SalarySearchConditionItem(itemType = WeaSearchConditionItemType.DATEPICKER, name = "dismissDate", isRange = true)
//    )
    private LocalDateRange dismissDate;

//    @SalarySearchCondition(
//            label = "合并计税",
//            labelId = 93289,
//            items = @SalarySearchConditionItem(itemType = WeaSearchConditionItemType.RADIO, name = "consolidatedTaxation", options = "listTaxationOption()")
//    )
    private String consolidatedTaxation;
//
//    public List<WeaSearchConditionOption> listTaxationOption() {
//        return Collections.singletonList(new WeaSearchConditionOption("1", "是"));
//    }
}
