天津投入产出系统后端
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.

138 lines
4.3 KiB

using System;
using System.Web.Mvc.Html;
using QMFrameWork.WebUI;
using QMFrameWork.WebUI.Attribute;
namespace QMAPP.FJC.Web.Models.ODS
{
public class VideoInfoModel : QDGModel
{
public VideoInfoModel()
{
//设置页尺寸
this.pageSize = MvcApplication.PageSize.ToString();
}
///<summary>
///主键
///</summary>
[Description("")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.hidden)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string PID { get; set; }
///<summary>
///工作中心编码
///</summary>
[Description("工作中心编码")]
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/OdsVideoInfo/GetWorkCenterList", MaxLength = 2)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string WORKCENTER_CODE { get; set; }
///<summary>
/// 工序编码
///</summary>
[Description("工序编码")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string WORKCELL_CODE { get; set; }
///<summary>
/// 工位编码
///</summary>
[Description("工位编码")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string WORKLOC_CODE { get; set; }
///<summary>
///视频名称
///</summary>
[Description("视频名称")]
[HTMLInput(UpdateRead = false, required = false, MaxLength = 200)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public string VideoName { get; set; }
///<summary>
///类型名称
///</summary>
[Description("类型名称")]
public string VideoType { get; set; }
///<summary>
///权限
///</summary>
[Description("权限")]
public int VideoRule { get; set; }
///<summary>
///视频路径
///</summary>
[Description("视频路径")]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public string VideoUrl { get; set; }
///<summary>
///上传次数
///</summary>
[Description("上传次数")]
public int UploadNumber { get; set; }
///<summary>
///是否允许覆盖
///</summary>
[Description("是否允许覆盖")]
public int IsRepair { get; set; }
///<summary>
///备注
///</summary>
[Description("备注")]
[HTMLInput(UpdateRead = false, required = false, MaxLength = 200)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public string MEMO { get; set; }
///<summary>
///创建用户
///</summary>
[Description("创建用户")]
public string CREATEUSER { get; set; }
public string CREATEUSERNAME { get; set; }
///<summary>
///创建时间
///</summary>
[Description("创建时间")]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public DateTime CREATEDATE { get; set; }
public DateTime STARTCREATEDATE { get; set; }
public DateTime ENDCREATEDATE { get; set; }
///<summary>
///更新用户
///</summary>
[Description("更新用户")]
public string UPDATEUSER { get; set; }
public string UPDATEUSERNAME { get; set; }
///<summary>
///更新时间
///</summary>
[Description("更新时间")]
[DGColumn(frozenColumns = true, Sortable = true, Width = 200, DataAlign = DataAlign.center)]
public DateTime UPDATEDATE { get; set; }
}
}