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

120 lines
4.8 KiB

using System;
using System.Web.Mvc.Html;
using QMFrameWork.WebUI;
using QMFrameWork.WebUI.Attribute;
namespace QMAPP.FJC.Web.Models.CompleteStatistics
{
/// <summary>
/// 完工统计信息
/// </summary>
public class CompleteStatisticsModel : QDGModel
{
public CompleteStatisticsModel()
{
this.SENDTIME = DateTime.Now.AddDays(-2).ToString("yyyy-MM-dd HH:mm:ss");
this.EENDTIME = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
}
[Description("完工数量统计主键")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string PID { get; set; }
[Description("零件号")]
[HTMLInput(UpdateRead = true, required = true, MaxLength = 20)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string MATERIALNO { get; set; }
[Description("零件名称")]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string MATERIALNAME { get; set; }
[Description("生产线")]
[DGColumn(frozenColumns = true, Sortable = true, Width = 120, DataAlign = DataAlign.center)]
public string PRODUCTLINE { get; set; }
[Description("订单号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public string ORDERNO { get; set; }
[Description("是否导出")]
[HTMLInput(UpdateRead = true, required = true, MaxLength = 20)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string DOESEXPORT { get; set; }
[Description("系统统计完工数量")]
[HTMLInput(UpdateRead = true, required = true, MaxLength = 20, DataType = QDataType.number, NumberMin = 0)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public int SYSCOMPLETECOUNT { get; set; }
[Description("人工统计完工数量")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20, DataType = QDataType.number, NumberMin = 0)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = true, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public int COMPLETECOUNT { get; set; }
[Description("统计开始时间")]
[HTMLInput(UpdateRead = true, required = true, MaxLength = 20)]
[InputType(inputType.dateTimeBox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public DateTime STARTTIME { get; set; }
[Description("统计结束时间")]
[HTMLInput(UpdateRead = true, required = true, MaxLength = 20)]
[InputType(inputType.dateTimeBox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public DateTime ENDTIME { get; set; }
[Description("统计结束时间开始")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.dateTimeBox)]
[DGColumn(Hidden = true)]
public string SENDTIME { get; set; }
[Description("统计结束时间结束")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.dateTimeBox)]
[DGColumn(Hidden = true)]
public string EENDTIME { get; set; }
[Description("创建时间")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public DateTime CREATETIME { get; set; }
[Description("创建者")]
[DGColumn(Hidden = true)]
public string CREATEUSER { get; set; }
[Description("创建者")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string CREATEUSER_DISPLAY { get; set; }
[Description("更新时间")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public DateTime UPDATETIME { get; set; }
[Description("更新者")]
[DGColumn(Hidden = true)]
public string UPDATEUSER { get; set; }
[Description("更新者")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string UPDATEUSER_DISPLAY { get; set; }
[Description("删除标识")]
[DGColumn(Hidden = true)]
public string DELFLAG { get; set; }
}
}