MODEL

using System;
namespace MODEL
{
    [Serializable]
    /// <summary>
    /// 作者: liuhaitao
    /// 描述: 实体层 -- Classes表映射类.
    /// 最后修改时间:2013/2/4 9:31:15
    /// </summary>
    public class Classes
    {
        public Classes()
        { }

        #region 字段们
        protected int _cID;//班级id
        protected string _cName;//班级名称
        protected int _cCount;//班级图片
        protected string _cImg;//图片
        protected bool _cIsDel;//班级状态
        protected DateTime _cAddTime;//录入日期
        #endregion

        #region 属性们
        /// <summary>
        /// 班级表ID
        /// </summary>
        public int CID
        {
            set { _cID = value; }
            get { return _cID; }
        }

        /// <summary>
        /// 班级名称
        /// </summary>
        public string CName
        {
            set { _cName = value; }
            get { return _cName; }
        }

        /// <summary>
        /// 班级人数
        /// </summary>
        public int CCount
        {
            set { _cCount = value; }
            get { return _cCount; }
        }
/// <summary>
        ///  -外键实体
        /// </summary>
        public Classes CIdMODEL
        {
            set { _cIdMODEL = value; }
            get { return _cIdMODEL; }
        }

 

/// <summary> /// 班级Logo图片 /// </summary> public string CImg { set { _cImg = value; } get { return _cImg; } } /// <summary> /// 删除标志 /// </summary> public bool CIsDel { set { _cIsDel = value; } get { return _cIsDel; } } /// <summary> /// 录入时间 /// </summary> public DateTime CAddTime { set { _cAddTime = value; } get { return _cAddTime; } } #endregion } }

 

posted @ 2016-02-29 21:26  狼牙者.net  阅读(221)  评论(0编辑  收藏  举报