zoukankan      html  css  js  c++  java
  • model 模型层

    using System;
    namespace MODEL
    {
        [Serializable]
        /// <summary>
        /// 作者: liuhaitao
        /// 描述: 实体层 -- Students表映射类.
        /// 最后修改时间:2013/2/4 9:31:57
        /// </summary>
        public class Students
        {
            public Students()
            { }
    
            #region 字段们
            protected int _id;
            protected int _cId;
            protected Classes _cIdMODEL;//外键实体!
            protected string _name;
            protected string _gender;
            protected bool _isDel;
            protected DateTime _addTime;
            #endregion
    
            #region 属性们
            /// <summary>
            /// 
            /// </summary>
            public int Id
            {
                set { _id = value; }
                get { return _id; }
            }
    
            /// <summary>
            /// 
            /// </summary>
            public int CId
            {
                set { _cId = value; }
                get { return _cId; }
            }
            /// <summary>
            ///  -外键实体
            /// </summary>
            public Classes CIdMODEL
            {
                set { _cIdMODEL = value; }
                get { return _cIdMODEL; }
            }
    
            /// <summary>
            /// 
            /// </summary>
            public string Name
            {
                set { _name = value; }
                get { return _name; }
            }
    
            /// <summary>
            /// 
            /// </summary>
            public string Gender
            {
                set { _gender = value; }
                get { return _gender; }
            }
    
            /// <summary>
            /// 
            /// </summary>
            public bool IsDel
            {
                set { _isDel = value; }
                get { return _isDel; }
            }
    
            /// <summary>
            /// 
            /// </summary>
            public DateTime AddTime
            {
                set { _addTime = value; }
                get { return _addTime; }
            }
            #endregion
        }
    }
  • 相关阅读:
    java基础学习
    形参和返回值
    内部类
    常用API(String、StringBuilder)【1】
    什么是servlet
    servlet2.5和3.0的区别,servlet4.0注解
    什么是事务
    jdk环境配置(转载)
    idea中运行Tomcat后控制台出现乱码(统一设置成UTF-8)
    java数组
  • 原文地址:https://www.cnblogs.com/hehehehehe/p/5229003.html
Copyright © 2011-2022 走看看