package com.engine.salary.entity.salarysob.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 薪资账套校验规则表单
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class SalarySobCheckRuleFormDTO {

    //主键id")
    private Long id;

    //薪资账套id")
//    @NotNull(message = "薪资账套id不允许为空")
    private Long salarySobId;

//    @SalaryForm(
//            label = "规则名称",
//            labelId = 100173,
//            items = @SalaryFormItem(itemType = WeaFormItemType.INPUT, required = true, maxLength = "15")
//    )
    //规则名称")
//    @NotEmpty(message = "规则名称不允许为空")
    private String name;

    //公式id")
//    @NotNull(message = "校验规则不允许为空")
//    @Positive(message = "校验规则不允许为空")
    private Long formulaId;

//    @SalaryForm(
//            label = "校验规则",
//            labelId = 86126,
//            items = @SalaryFormItem(itemType = WeaFormItemType.INPUT, required = true)
//    )
    //校验规则")
    private String formulaContent;

//    @SalaryForm(
//            label = "备注",
//            labelId = 84961,
//            items = @SalaryFormItem(itemType = WeaFormItemType.INPUT, maxLength = "20")
//    )
    //备注")
    private String description;
}
