105 lines
2.5 KiB
C#
105 lines
2.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Xml;
|
|
using System.Data;
|
|
namespace DocumentManagement.Model
|
|
{
|
|
public class PrintTemplate
|
|
{
|
|
#region Model
|
|
private int _id;
|
|
private int _parentid;
|
|
private string _xmlfilename;
|
|
private string _xmlfile;
|
|
private string _xmlstatic;
|
|
private int _templateorder;
|
|
private List<PrintTemplate> _children = new List<PrintTemplate>();
|
|
private int _isvalid;
|
|
private string _operatorno;
|
|
private DateTime _operatordate;
|
|
/// <summary>
|
|
/// Id
|
|
/// </summary>
|
|
public int Id
|
|
{
|
|
set { _id = value; }
|
|
get { return _id; }
|
|
}
|
|
/// <summary>
|
|
/// 父节点Id
|
|
/// </summary>
|
|
public int ParentId
|
|
{
|
|
set { _parentid = value; }
|
|
get { return _parentid; }
|
|
}
|
|
/// <summary>
|
|
/// 文书名
|
|
/// </summary>
|
|
public string XmlFileName
|
|
{
|
|
set { _xmlfilename = value; }
|
|
get { return _xmlfilename; }
|
|
}
|
|
/// <summary>
|
|
/// xml文档
|
|
/// </summary>
|
|
public string XmlFile
|
|
{
|
|
set { _xmlfile = value; }
|
|
get { return _xmlfile; }
|
|
}
|
|
/// <summary>
|
|
/// 需要统计字段
|
|
/// </summary>
|
|
public string XmlStatic
|
|
{
|
|
set { _xmlstatic = value; }
|
|
get { return _xmlstatic; }
|
|
}
|
|
/// <summary>
|
|
/// 排序
|
|
/// </summary>
|
|
public int TemplateOrder
|
|
{
|
|
set { _templateorder = value; }
|
|
get { return _templateorder; }
|
|
}
|
|
|
|
public List<PrintTemplate> Children
|
|
{
|
|
get { return this._children; }
|
|
set { this._children = value; }
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 有效性
|
|
/// </summary>
|
|
public int IsValid
|
|
{
|
|
set { _isvalid = value; }
|
|
get { return _isvalid; }
|
|
}
|
|
/// <summary>
|
|
/// 操作人工号
|
|
/// </summary>
|
|
public string OperatorNo
|
|
{
|
|
set { _operatorno = value; }
|
|
get { return _operatorno; }
|
|
}
|
|
/// <summary>
|
|
/// 操作日期
|
|
/// </summary>
|
|
public DateTime OperatorDate
|
|
{
|
|
set { _operatordate = value; }
|
|
get { return _operatordate; }
|
|
}
|
|
#endregion Model
|
|
}
|
|
}
|