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 PageListTemplateSaveParam {
    private Long id;

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

    /**
     * 模板名称
     */
    @DataCheck(require = true,message = "请选择模板名称")
    private String name;

    @DataCheck(require = true,message = "请选择共享类型")
    private Integer sharedType;

    private List<Long> limitIds;

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

    /**
     * 导出模板id
     */
    private Integer fileId;
}