﻿/*===================================================================== 
* Copyright © 2014 www.icaiban.com All Rights Reserved.
* CLR版本： 4.0.30319.18444 
* 类名称：  Tab_Wechat_Function 
* 创建人：  jimmy
* 创建时间：2014/10/24 15:27:25 
* 修改人：
* 修改时间：
* 修改备注：
* 版本：@version 1.0
===================================================================== */

using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using ICaiBan.Framework.ORM;

namespace ICaiBan.ModelDB
{
    [Serializable, TableInfo("Tab_Wechat_Function")]
    public class Tab_Wechat_Function : Entity<Tab_Wechat_Function>
    {
        decimal _Function_Id;

        /// <summary>
        /// 功能ID
        /// </summary>
        [FieldInfo(SqlDbType=SqlDbType.Decimal, IsPrimeKey=true, Description="功能ID", AllowNull=false, IsIdentity=true)]
        public decimal Function_Id
        {
            get { return _Function_Id; }
            set { _Function_Id=value; }
        }

        string _Function_Icon;

        /// <summary>
        /// 图标
        /// </summary>
        [FieldInfo(SqlDbType=SqlDbType.NVarChar, Description="图标", MaxLength=256, AllowNull=false)]
        public string Function_Icon
        {
            get { return _Function_Icon; }
            set { _Function_Icon=value; }
        }

        string _Functoin_Name="tdat";

        /// <summary>
        /// 名称
        /// </summary>
        [FieldInfo(SqlDbType=SqlDbType.NVarChar, Description="名称", MaxLength=20, AllowNull=false)]
        public string Functoin_Name
        {
            get { return _Functoin_Name; }
            set { _Functoin_Name=value; }
        }

        string _Function_Desc;

        /// <summary>
        /// 说明
        /// </summary>
        [FieldInfo(SqlDbType=SqlDbType.NVarChar, Description="说明", MaxLength=512, AllowNull=false)]
        public string Function_Desc
        {
            get { return _Function_Desc; }
            set { _Function_Desc=value; }
        }

        string _Function_Link="tdat";

        /// <summary>
        /// 链接
        /// </summary>
        [FieldInfo(SqlDbType=SqlDbType.NVarChar, Description="链接", MaxLength=256, AllowNull=false)]
        public string Function_Link
        {
            get { return _Function_Link; }
            set { _Function_Link=value; }
        }
    }
}