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

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

/**
 * 保存应用设置参数
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AppSettingSaveParam {

    /**
     * 是否打印日志
     *
     * @see OpenEnum
     */
    private String isLog;

    /**
     * 是否开启核算结果合计列
     *
     * @see OpenEnum
     */
    @DataCheck(require = true,message = "是否开启核算结果合计列？")
    private String openAcctResultSum;

    /**
     * 是否开启加密设置
     */
    private String isOpenEncrypt;

    /**
     * 是否关闭个税申报
     */
    private String operateTaxDeclaration;

    /**
     * 是否显示脱敏表人员信息
     * @see OpenEnum
     */
    @DataCheck(require = true,message = "是否显示脱敏表人员信息？")
    private String displayEmpInfoReport;

}
