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

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

import java.util.List;

/**
 * 薪资帐套表
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PageListSettingSaveParam {

    /**
     * 默认设置
     */
    @DataCheck(require = true,message = "是否为默认设置")
    private Integer defaultSetting;

    /**
     * 页面，0：薪资明细
     */
    @DataCheck(require = true,message = "请选择页面")
    private String page;

    /**
     * 设置
     */
    @DataCheck(require = true,message = "请选择设置")
    private List<String> setting;
}