package cn.stylefeng.workflow.api.pojo.config.node.button;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import lombok.Data;

@Data
public class NodeButtonPermission {

    @ChineseDescription("保存到草稿")
    private Boolean save = false;

    @ChineseDescription("保存别名")
    private String saveAliasName;

    @ChineseDescription("提交")
    private Boolean submit = false;

    @ChineseDescription("提交别名")
    private String submitAliasName;

    @ChineseDescription("抄送")
    private Boolean copyTo = false;

    @ChineseDescription("抄送别名")
    private String copyToAliasName;

    @ChineseDescription("同意")
    private Boolean agree = false;

    @ChineseDescription("同意别名")
    private String agreeAliasName;

    @ChineseDescription("拒绝")
    private Boolean refuse = false;

    @ChineseDescription("拒绝别名")
    private String refuseAliasName;

    @ChineseDescription("转交")
    private Boolean handOver = false;

    @ChineseDescription("转交别名")
    private String handOverAliasName;

    @ChineseDescription("退回")
    private Boolean backTo = false;

    @ChineseDescription("退回别名")
    private String backToAliasName;

    @ChineseDescription("撤回")
    private Boolean retract = false;

    @ChineseDescription("撤回别名")
    private String retractAliasName;

    @ChineseDescription("撤回已审批流程，false-不能撤回已审批流程，true-可以撤回已审批流程")
    private Boolean retractAlreadyApprovedFlag = false;

    @ChineseDescription("加签")
    private Boolean addSign = false;

    @ChineseDescription("加签别名")
    private String addSignAliasName;

    @ChineseDescription("已阅")
    private Boolean haveRead = false;

    @ChineseDescription("已阅别名")
    private String haveReadAliasName;

    @ChineseDescription("撤销")
    private Boolean cancel = false;

    @ChineseDescription("撤销的别名")
    private String cancelAliasName;

    @ChineseDescription("开始")
    private Boolean begin = false;

    @ChineseDescription("开始")
    private String beginAliasName;

}
