通用权限管理平台--代码结构

整体代码结构如下所示:

数据层

核心层

 

数据实体

/********************************************************************************
/** 工具名称:EAP代码生成工具生成
/** 作者:

/** 联系方式:QQ42934067
/** 版权所有
/** 机器生成时间:2013-4-8 9:22:14
/** 修改人:  
/** 修改时间:
/** 描述:-实体数据对象 …
*********************************************************************************/

using System;
using System.Collections;
using System.Collections.Generic;
using System.Xml.Serialization;

using EAP.Pdo;
using EAP.Pdo.Generators;
using EAP.Pdo.Converters;


namespace EAP.Models
{
    [Serializable]
    [DataObject("T_MODULE", "eap")]
    public class TModuleDo : DoBase
    {

 

 

        public override object Id
        {
            get
            {
                return ModuleId;
            }
            set
            {
                ModuleId = value.ToString();
            }
        }

 

        /// <summary>
        /// MODULE_ID
        /// </summary>
        [DataProperty("MODULE_ID", IsOid = true)]
        [ValueGenerator(typeof(GuidValueGenerator))]
        public virtual string ModuleId
        {
            get;
            set;
        }

 

        /// <summary>
        /// REF_MODULE_ID
        /// </summary>
        [DataProperty("REF_MODULE_ID")]

        public virtual string RefModuleId
        {
            get;
            set;
        }

        /// <summary>
        /// MODULE_CODE
        /// </summary>
        [DataProperty("MODULE_CODE")]

        public virtual string ModuleCode
        {
            get;
            set;
        }
  

 

        /// <summary>
        /// IS_ACTION
        /// </summary>
        [DataProperty("IS_ACTION")]

        public virtual int IsAction
        {
            get;
            set;
        }

 

        /// <summary>
        /// MODULE_NAME
        /// </summary>
        [DataProperty("MODULE_NAME")]

        public virtual string ModuleName
        {
            get;
            set;
        }

 

        /// <summary>
        /// ICON
        /// </summary>
        [DataProperty("ICON")]

        public virtual string Icon
        {
            get;
            set;
        }

        /// <summary>
        /// CONTROLLER
        /// </summary>
        [DataProperty("CONTROLLER")]

        public virtual string Controller
        {
            get;
            set;
        }

 

        /// <summary>
        /// ACTION
        /// </summary>
        [DataProperty("ACTION")]

        public virtual string Action
        {
            get;
            set;
        }

 

        /// <summary>
        /// DESCRIPTION
        /// </summary>
        [DataProperty("DESCRIPTION")]

        public virtual string Description
        {
            get;
            set;
        }

 

        /// <summary>
        /// ORDER_SN
        /// </summary>
        [DataProperty("ORDER_SN")]

        public virtual int OrderSn
        {
            get;
            set;
        }

 

        /// <summary>
        /// IS_DELETE
        /// </summary>
        [DataProperty("IS_DELETE")]

        public virtual int IsDelete
        {
            get;
            set;
        }

 

        /// <summary>
        /// CREATE_DATE
        /// </summary>
        [DataProperty("CREATE_DATE")]

        public virtual DateTime CreateDate
        {
            get;
            set;
        }

 

        /// <summary>
        /// MODIFY_DATE
        /// </summary>
        [DataProperty("MODIFY_DATE")]

        public virtual DateTime ModifyDate
        {
            get;
            set;
        }

 

        /// <summary>
        /// ATTR1
        /// </summary>
        [DataProperty("ATTR1")]

        public virtual string Attr1
        {
            get;
            set;
        }

 

        /// <summary>
        /// ATTR2
        /// </summary>
        [DataProperty("ATTR2")]

        public virtual string Attr2
        {
            get;
            set;
        }

 

        /// <summary>
        /// ATTR3
        /// </summary>
        [DataProperty("ATTR3")]

        public virtual string Attr3
        {
            get;
            set;
        }

    }

}

 

posted @ 2013-07-31 10:19  hn73100  阅读(1139)  评论(0编辑  收藏  举报