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

namespace JuSNS.Model.ApiInterface
{
    /// <summary>
    /// 应用程序信息
    /// </summary>
    public class AppInfo
    {
        private int _AppID;
        private string _AppName;
        private string _Description;
        private DateTime _CreationTime;
        private int _UserID;
        private int _IsLock;
        private string _Url;
        private string _Icon;
        private int _Type;
        private string _TypeStr;
        private int _Hot;
        private string _MidIcon;
        private string _BigIcon;
        private int _IsSys;
        private int _ToAdmin;
        private string _Mobile;
        private string _Tel;
        private string _Email;
        public AppInfo()
        {
            _CreationTime = DateTime.Now;
        }
        /// <summary>
        /// 应用程序ID
        /// </summary>
        public int AppID
        {
            get { return _AppID; }
            set { _AppID = value; }
        }
        /// <summary>
        /// 应用程序名称
        /// </summary>
        public string AppName
        {
            get { return _AppName; }
            set { _AppName = value; }
        }
        /// <summary>
        /// 应用程序描述
        /// </summary>
        public string Description
        {
            get { return _Description; }
            set { _Description = value; }
        }
        /// <summary>
        /// 建立时间
        /// </summary>
        public DateTime CreationTime
        {
            get { return _CreationTime; }
            set { _CreationTime = value; }
        }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserID
        {
            get { return _UserID; }
            set { _UserID = value; }
        }
        /// <summary>
        /// 是否锁定
        /// </summary>
        public int IsLock
        {
            get { return _IsLock; }
            set { _IsLock = value; }
        }
        /// <summary>
        /// 应用程序地址
        /// </summary>
        public string Url
        {
            get { return _Url; }
            set { _Url = value; }
        }
        /// <summary>
        /// 图标
        /// </summary>
        public string Icon
        {
            get { return _Icon; }
            set { _Icon = value; }
        }
        /// <summary>
        /// 类别
        /// </summary>
        public int Type
        {
            get { return _Type; }
            set { _Type = value; }
        }
        /// <summary>
        /// 类别字符串
        /// </summary>
        public string TypeStr
        {
            get { return _TypeStr; }
            set { _TypeStr = value; }
        }
        /// <summary>
        /// 人气
        /// </summary>
        public int Hot
        {
            get { return _Hot; }
            set { _Hot = value; }
        }
        /// <summary>
        /// 预览中图
        /// </summary>
        public string MidIcon
        {
            get { return _MidIcon; }
            set { _MidIcon = value; }
        }
        /// <summary>
        /// 预览大图
        /// </summary>
        public string BigIcon
        {
            get { return _BigIcon; }
            set { _BigIcon = value; }
        }
        /// <summary>
        /// 是否是系统应用
        /// </summary>
        public int IsSys
        {
            get { return _IsSys; }
            set { _IsSys = value; }
        }

        public int ToAdmin
        {
            get { return _ToAdmin; }
            set { _ToAdmin = value; }
        }
        public string Mobile
        {
            get { return _Mobile; }
            set { _Mobile = value; }
        }
        public string Tel
        {
            get { return _Tel; }
            set { _Tel = value; }
        }
        public string Email
        {
            get { return _Email; }
            set { _Email = value; }
        }
    }
}
