package com.engine.salary.remote.attend.entity;

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

import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Attend4Salary {

    @DataCheck(require = true,message = "开始日期为空！")
    private Date beginDate;

    @DataCheck(require = true,message = "结束日期为空！")
    private Date endDate;

    private String unit;

    @DataCheck(require = true,message = "考勤人员为空！")
    private List<Long> onlyEmpIds;

    private Map<String, Object> extendParam;
}
