码迷,mamicode.com
首页 > 数据库 > 详细

对应SQL数据库 关系转对象,表名-类名 ,列名-属性, DeskInfo餐桌类

时间:2016-11-12 14:16:03      阅读:149      评论:0      收藏:0      [点我收藏+]

标签:set   l数据库   collect   text   code   span   ret   cti   lin   

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

namespace _03大项目
{
   public class DeskInfo
    {
        //DeskId, DeskName, DeskNamePinYin, DeskDelFlag, DeskNum

        private int _deskId;
       /// <summary>
       /// 餐桌的id
       /// </summary>
        public int DeskId
        {
            get { return _deskId; }
            set { _deskId = value; }
        }
       private string _deskName;
       /// <summary>
       /// 餐桌的名字
       /// </summary>
       public string DeskName
       {
           get { return _deskName; }
           set { _deskName = value; }
       }
       private string _deskNamePinYin;
       /// <summary>
       /// 餐桌的拼音
       /// </summary>
       public string DeskNamePinYin
       {
           get { return _deskNamePinYin; }
           set { _deskNamePinYin = value; }
       }
       private int _deskDelFlag;
       /// <summary>
       /// 删除标识 0---未删除,1----删除的
       /// </summary>
       public int DeskDelFlag
       {
           get { return _deskDelFlag; }
           set { _deskDelFlag = value; }
       }
       private string _deskNum;
       /// <summary>
       /// 餐桌的编号
       /// </summary>
       public string DeskNum
       {
           get { return _deskNum; }
           set { _deskNum = value; }
       }
    }
}

 

对应SQL数据库 关系转对象,表名-类名 ,列名-属性, DeskInfo餐桌类

标签:set   l数据库   collect   text   code   span   ret   cti   lin   

原文地址:http://www.cnblogs.com/blacop/p/6056489.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!