using System;
|
|
|
|
namespace Basic.Model
|
|
{
|
|
/// <summary>
|
|
/// 友情链接
|
|
/// </summary>
|
|
[Serializable]
|
|
public partial class link
|
|
{
|
|
private int _id;
|
|
private int _paixu;
|
|
private string _title;
|
|
private int _class_id;
|
|
private string _path;
|
|
private string _url;
|
|
private int _target;
|
|
private int _state;
|
|
private string _remark;
|
|
private DateTime _add_time;
|
|
|
|
/// <summary>
|
|
/// 自增ID
|
|
/// </summary>
|
|
public int id
|
|
{
|
|
set { _id = value; }
|
|
get { return _id; }
|
|
}
|
|
/// <summary>
|
|
/// 排序
|
|
/// </summary>
|
|
public int paixu
|
|
{
|
|
set { _paixu = value; }
|
|
get { return _paixu; }
|
|
}
|
|
/// <summary>
|
|
/// 标题
|
|
/// </summary>
|
|
public string title
|
|
{
|
|
set { _title = value; }
|
|
get { return _title; }
|
|
}
|
|
/// <summary>
|
|
/// 类别
|
|
/// </summary>
|
|
public int class_id
|
|
{
|
|
set { _class_id = value; }
|
|
get { return _class_id; }
|
|
}
|
|
/// <summary>
|
|
/// 图片路径
|
|
/// </summary>
|
|
public string path
|
|
{
|
|
set { _path = value; }
|
|
get { return _path; }
|
|
}
|
|
/// <summary>
|
|
/// 链接地址
|
|
/// </summary>
|
|
public string url
|
|
{
|
|
set { _url = value; }
|
|
get { return _url; }
|
|
}
|
|
/// <summary>
|
|
/// 打开方式 (0/新窗口打开 1/原窗口打开)
|
|
/// </summary>
|
|
public int target
|
|
{
|
|
set { _target = value; }
|
|
get { return _target; }
|
|
}
|
|
/// <summary>
|
|
/// 状态(0/正常 1/隐藏)
|
|
/// </summary>
|
|
public int state
|
|
{
|
|
set { _state = value; }
|
|
get { return _state; }
|
|
}
|
|
/// <summary>
|
|
/// 备注信息
|
|
/// </summary>
|
|
public string remark
|
|
{
|
|
set { _remark = value; }
|
|
get { return _remark; }
|
|
}
|
|
/// <summary>
|
|
/// 添加日期
|
|
/// </summary>
|
|
public DateTime add_time
|
|
{
|
|
set { _add_time = value; }
|
|
get { return _add_time; }
|
|
}
|
|
}
|
|
}
|