78 lines
1.7 KiB
C#
78 lines
1.7 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
|
|
namespace AIMSModel
|
|
{
|
|
[Serializable]
|
|
public partial class KnowledgeBase
|
|
{
|
|
private int? id;
|
|
private int? parentId;
|
|
private string nanme;
|
|
private string content;
|
|
private int? orderBy;
|
|
private string imagePath;
|
|
private string videoPath;
|
|
|
|
public List<KnowledgeBase> SubItem { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public int? Id
|
|
{
|
|
get { return id; }
|
|
set { id = value; }
|
|
}
|
|
/// <summary>
|
|
/// 所属父类编号
|
|
/// </summary>
|
|
public int? ParentId
|
|
{
|
|
get { return parentId; }
|
|
set { parentId = value; }
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string Nanme
|
|
{
|
|
get { return nanme; }
|
|
set { nanme = value; }
|
|
}
|
|
/// <summary>
|
|
/// 知识内容
|
|
/// </summary>
|
|
public string Content
|
|
{
|
|
get { return content; }
|
|
set { content = value; }
|
|
}
|
|
/// <summary>
|
|
/// 排序
|
|
/// </summary>
|
|
public int? OrderBy
|
|
{
|
|
get { return orderBy; }
|
|
set { orderBy = value; }
|
|
}
|
|
/// <summary>
|
|
/// 图像
|
|
/// </summary>
|
|
public string ImagePath
|
|
{
|
|
get { return imagePath; }
|
|
set { imagePath = value; }
|
|
}
|
|
/// <summary>
|
|
/// 视频
|
|
/// </summary>
|
|
public string VideoPath
|
|
{
|
|
get { return videoPath; }
|
|
set { videoPath = value; }
|
|
}
|
|
}
|
|
}
|