using System;
using System.Collections.Generic;
using System.Text;

namespace Mall.Model.Extend.User
{
    /// <summary>
    /// 小程序页面管理扩展实体类
    /// </summary>
    public class RB_Miniprogram_PageManage_Extend : Model.Entity.User.RB_Miniprogram_PageManage
    {
        /// <summary>
        /// 页面类型字符串
        /// </summary>
        public string PageTypeStr
        {
            get
            {
                string str = "";
                str = Common.Plugin.EnumHelper.GetEnumName(this.PageType);
                return str;
            }
        }

        /// <summary>
        /// 页面类型【查询使用】
        /// </summary>
        public int QPageType { get; set; }

        /// <summary>
        /// 状态字符串
        /// </summary>
        public string StatusStr
        {
            get
            {
                string str = "正常";
                if (this.Status > 0 && this.Status == 1)
                {
                    str = "禁用";
                }
                return str;
            }
        }

        /// <summary>
        /// 自定义页面标题
        /// </summary>
        public string SelfPageName { get; set; }

        /// <summary>
        /// 小程序页面表Id
        /// </summary>
        public int Id { get; set; }
    }
}
