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

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

import java.util.Date;

/**
 * 停薪
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SalaryArchiveStopParam {

    /**
     * 档案id
     */
    @DataCheck(require = true, message = "薪资档案id为空")
    private Long salaryArchiveId;

    /**
     * 最后发薪日期
     */
    private Date payEndDate;
    @DataCheck(require = true, message = "最后发薪日期为空")
    private String payEndDateStr;


}
