You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
139 lines
4.4 KiB
139 lines
4.4 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.Mvc;
|
|
using System.Web.Mvc.Html;
|
|
using QMAPP.Web;
|
|
using QMFrameWork.WebUI;
|
|
using QMFrameWork.WebUI.Attribute;
|
|
|
|
namespace QMAPP.Web.Models.Sys
|
|
{
|
|
///</summary>
|
|
/// 作 用:文件信息页面模型
|
|
/// 作 者:王丹丹
|
|
/// 编写日期:2015年03月17日
|
|
///</summary>
|
|
public class FileInfoModel : QDGModel
|
|
{
|
|
public FileInfoModel()
|
|
{
|
|
this.propertyParameter = new Dictionary<string, string>();
|
|
//添加表格点击事件
|
|
this.propertyParameter.Add("onClickCell", "function (rowIndex, field, value) {ClickGridCell(rowIndex, field, value);}");
|
|
}
|
|
|
|
///<summary>
|
|
///文件信息主键
|
|
///</summary>
|
|
[Description("文件信息主键")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(Hidden = true, PrimaryKey = true)]
|
|
public string PID { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///文件名
|
|
///</summary>
|
|
[Description("文件名")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200, Width = 275)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.left, Linked = true)]
|
|
public string FILENAME { get; set; }
|
|
|
|
///<summary>
|
|
///文件名
|
|
///</summary>
|
|
[Description("文件名")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
|
|
[InputType(inputType.text)]
|
|
public string FILENAMETXT { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///文件存储名
|
|
///</summary>
|
|
[Description("文件存储名")]
|
|
[InputType(inputType.hidden)]
|
|
public string FileStorageNameTxt { get; set; }
|
|
|
|
///<summary>
|
|
///文件存储名
|
|
///</summary>
|
|
[Description("文件存储名")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 200)]
|
|
[InputType(inputType.text)]
|
|
public string FILESTORAGENAME { get; set; }
|
|
//附件名称
|
|
public string ATTACHFILETXT { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///文件描述
|
|
///</summary>
|
|
[Description("文件描述")]
|
|
[HTMLInput(UpdateRead = false, MaxLength = 300, Width = 275, Height = 80)]
|
|
[InputType(inputType.textArea)]
|
|
[DGColumn(Sortable = true, Width = 200, DataAlign = DataAlign.left)]
|
|
public string REMARK { get; set; }
|
|
|
|
|
|
///<summary>
|
|
///分类
|
|
///</summary>
|
|
[Description("分类")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 10, Width = 280, JsonUtl = "/FileInfo/GetTypeComboxSource")]
|
|
[InputType(inputType.combobox)]
|
|
public string TYPENO { get; set; }
|
|
|
|
///<summary>
|
|
/// 分类
|
|
///</summary>
|
|
[Description("分类")]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string TYPENAME { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 用户编号
|
|
/// </summary>
|
|
[Description("用户编号")]
|
|
[HTMLInput(UpdateRead = true, required = true, MaxLength = 20)]
|
|
[InputType(inputType.text)]
|
|
[DGColumn(Hidden = true)]
|
|
public string OrgaID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 是否编辑画面
|
|
/// </summary>
|
|
public string isEdit { get; set; }
|
|
|
|
|
|
///<summary>
|
|
/// 创建人
|
|
///</summary>
|
|
[Description("创建人")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
|
|
[InputType(inputType.text)]
|
|
public string CREATEUSER { get; set; }
|
|
///<summary>
|
|
/// 创建人
|
|
///</summary>
|
|
[Description("创建人")]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
|
public string CREATEUSERNAME { get; set; }
|
|
|
|
|
|
///<summary>
|
|
/// 创建时间
|
|
///</summary>
|
|
[Description("创建时间")]
|
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 3)]
|
|
[InputType(inputType.datebox)]
|
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
|
|
public DateTime CREATEDATE { get; set; }
|
|
}
|
|
}
|
|
|