模式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; }
        }


    }

}

 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值