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

import com.engine.salary.entity.salaryformula.po.FormulaVar;
import com.engine.salary.util.valid.DataCheck;
import com.engine.salary.util.valid.RuntimeTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SalaryFormulaMockParam {
    /**
     * id
     */
    @DataCheck(require = true,message = "主键为空",runtime = RuntimeTypeEnum.UPDATE)
    private Long id;

    private List<FormulaVar> parameters;
}
