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


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

/**
 * @Author weaver_cl
 * @Description: 保存并进入核算
 * @Date 2022/4/11
 * @Version V1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AccountParam {

    //账单月份")
    //@NotNull
    @DataCheck(require = true,message = "账单月份不能为空")
    private String billMonth;

    //备注")
    //@Length(max = 60)
    @DataCheck(max = 60,message = "备注长度不能超过60个字符")
    private String remarks;

    //核算人员id集合")
    private List<Long> ids;

    // 是否是首次核算
    private boolean flag = true;

    /**
     * 个税扣缴义务人id
     */
    @DataCheck(require = true,message = "个税扣缴义务人不能为空")
    private Long paymentOrganization;

    // 是否核算后归档
    private boolean fileFlag = false;

}
