using MECF.Framework.Common.Account;
using MECF.Framework.Common.Account.Permissions;

namespace MECF.Framework.UI.Client.RecipeEditorLib.RecipeModel.Params
{
    public class StepParam : ParamBaseWithGenericValue<int>
    {
        #region Variables

        private bool _checked;

        #endregion

        #region Constructors

        public StepParam()
        {
        }

        public StepParam(int initValue) : base(initValue)
        {
        }

        #endregion

        #region Properties

        public override MenuPermissionEnum Permission => MenuPermissionEnum.MP_READ_WRITE;

        public bool IsChecked
        {
            get => _checked;
            set => Set(ref _checked, value);
        }

        #endregion
    }
}
