package com.engine.salary.entity.datacollection.param;

import com.engine.salary.common.BaseQueryParam;
import com.engine.salary.util.valid.DataCheck;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
//数据采集-浮动薪酬查询参数
public class VariableArchiveQueryParam extends BaseQueryParam {

    // 主键id
    private Collection<Long> ids;

    // 主键id
    private Long id;

    // 个税扣缴义务人
    private List<Long> taxAgentIds;

    // 薪资年月
    @DataCheck(require = true,message = "薪资所属月不能为空")
    private String salaryMonth;

    private Date salaryMonthDate;

    // 姓名
    private String username;

    // 部门id
    private List<Long> departmentIds;

    // 工号
    private String workcode;

    // 下载模板是否带数据
    private boolean hasData;

    private List<Long> employeeIds;

    private List<String> columns;
}
