模式MODEL

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

namespace Solog.Model
{
    
//<summary>
    
//blog文章實體類
    
//</summary>
    
    [Serializable]
    
public class ArticleInfo
    
{
        
private int _ID;
        
private int _cateId;

        
private string _cateName;
        
private DateTime _postTime;
        
private int _commentNum;
        
private bool _disUbb;
        
private bool _disComment;
        
private int _ViewNums;

        
private bool _isShow;
        
private bool _isTop;
        
private string _from;
        
private string _title;
        
private string _intro;
        
private string _content;

        
public ArticleInfo()
        

        }


        
public int ID
        
{
            
get return _ID; }
            
set { _ID = value; }
        }

        
public int cateId
        
{
            
get return _cateId; }
            
set { _cateId = value; }
        }

        
public string cateName
        
{
            
get return _cateName; }
            
set { _cateName = value; }
        }

        
public DateTime postTime
        
{
            
get return _postTime; }
            
set { _postTime = value; }
        }

        
public int commentNum
        
{
            
get return _commentNum; }
            
set { _commentNum = value; }
        }

        
public bool DisUbb
        
{
            
get return _disUbb; }
            
set { _disUbb = value; }
        }

        
public bool DisComment
        
{
            
get return _disComment; }
            
set { _disComment = value; }
        }

        
public int ViewNums
        
{
            
get return _ViewNums; }
            
set { _ViewNums = value; }

        }

        
public bool isShow
        
{
            
get return _isShow; }
            
set { _isShow = value; }
        }

        
public bool isTop
        
{
            
get return _isTop; }
            
set { _isTop = value; }
        }

        
public string from
        
{
            
get return _from; }
            
set { _from = value; }
        }

        
public string title
        
{
            
get return _title; }
            
set { _title = value; }
        }

        
public string intro
        
{
            
get return _intro; }
            
set { _intro = value; }
        }

        
public string content
        
{
            
get return _content; }
            
set { _content = value; }
        }


    }

}

 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章