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

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

import java.time.YearMonth;

/**
 * 考勤引用是否可以操作参数
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AttendQuoteCheckOperationParam {

    //薪资所属月
    private YearMonth salaryYearMonth;

    @DataCheck(require = true, message = "薪资所属月必传")
    private String salaryYearMonthStr;

    //关联账套id
    @DataCheck(require = true, message = "关联账套id必传")
    private Long salarySobId;
}
