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

294 lines
10 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc.Html;
using QMFrameWork.WebUI.Attribute;
using QMFrameWork.WebUI;
namespace QMAPP.FJC.Web.Models.FIS
{
/// <summary>
/// 仪表板计划
/// </summary>
public class DashBoardPlanModel:QDGModel
{
///<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 = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
public string PLAN_NO { get; set; }
///<summary>
///计划顺序号
///</summary>
[Description("计划顺序号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
public string PLAN_SEQ { get; set; }
///<summary>
///计划状态
///</summary>
[Description("计划状态")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
public string PLAN_STATE { get; set; }
///<summary>
///物料号
///</summary>
[Description("物料号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.combotree)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 130, DataAlign = DataAlign.center)]
public string MATERIAL_CODE { get; set; }
///<summary>
///物料名称
///</summary>
[Description("物料名称")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 240, DataAlign = DataAlign.center)]
public string MATERIAL_NAME { get; set; }
///<summary>
///设备编号
///</summary>
[Description("设备编号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 20)]
[InputType(inputType.combobox)]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
public string MACHINECODDE { get; set; }
///<summary>
///PBOM编号
///</summary>
[Description("PBOM编号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
//[InputType(inputType.text)]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
public string PBOM_CODE { get; set; }
///<summary>
///工艺路线编号
///</summary>
[Description("工艺路线编号")]
//[HTMLInput(UpdateRead = false, required = true, MaxLength = 30, JsonUtl = "/Dict/GetProcessRouteComboxSource")]
//[InputType(inputType.combobox)]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
public string ROUTE_CODE { get; set; }
///<summary>
///工艺路线
///</summary>
[Description("工艺路线")]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
public string ROUTE_NAME { get; set; }
///<summary>
///计划数量
///</summary>
[Description("计划数量")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
public string QTY { get; set; }
///<summary>
///完成数量
///</summary>
[Description("完成数量")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
public string COMPLETE_QTY { get; set; }
///<summary>
///备注
///</summary>
[Description("备注")]
[HTMLInput(UpdateRead = false, MaxLength = 30)]
[InputType(inputType.textArea)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 120, DataAlign = DataAlign.center)]
public string REMARK { get; set; }
///<summary>
///计划日期
///</summary>
[Description("计划日期")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.datebox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public DateTime PLAN_DATE { get; set; }
[Description("计划日期")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
[InputType(inputType.dateTimeBox)]
public string PLANTIMESTART { get; set; }
[Description("至")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 7, Width = 151, FormatDate = "yyyy-MM-dd HH:mm:ss")]
[InputType(inputType.dateTimeBox)]
public string PLANTIMEEND { get; set; }
///<summary>
///工厂编号
///</summary>
[Description("工厂编号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30, JsonUtl = "/Dict/GetNewFactoryComboxSource")]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
public string FACTORY_CODE { get; set; }
///<summary>
///工厂名称
///</summary>
[Description("工厂名称")]
[DGColumn(Hidden = true, frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
public string FACTORY_NAME { get; set; }
///<summary>
///班次编码
///</summary>
[Description("班次编码")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30, JsonUtl = "/Dict/GetProduceShiftComboxSource")]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
public string SHIFT_CODE { get; set; }
///<summary>
///班次名称
///</summary>
[Description("班次名称")]
[DGColumn(Hidden = true, frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
public string SHIFT_NAME { get; set; }
///<summary>
///计划来源
///</summary>
[Description("计划来源")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30, JsonUtl = "/Dict/GetFixedComboxSource?kind=PLANSOURCE")]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
public string PLANSOURCE { get; set; }
///<summary>
///生产要求
///</summary>
[Description("生产要求")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30, JsonUtl = "/Dict/GetFixedComboxSource?kind=PRODUCEREQUIRE")]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
public string PRODUCEREQUIRE { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[Description("创建用户")]
public string CREATEUSER { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[Description("创建用户")]
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string CREATEUSERNAME { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
[HTMLInput(UpdateRead = true, MaxLength = 20)]
[InputType(inputType.hidden)]
[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
public DateTime CREATEDATE { get; set; }
[Description("开始日期")]
[HTMLInput(UpdateRead = false, required = true)]
[InputType(inputType.dateTimeBox)]
public DateTime STARTTIME { get; set; }
[Description("开始日期")]
[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public string STARTTIMEVIEW { get; set; }
[Description("截止日期")]
[HTMLInput(UpdateRead = false, required = true)]
[InputType(inputType.dateTimeBox)]
public DateTime ENDTIME { get; set; }
[Description("截止日期")]
[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public string ENDTIMEVIEW { get; set; }
/// <summary>
/// 更新用户
/// </summary>
[Description("更新用户")]
public string UPDATEUSER { get; set; }
/// <summary>
/// 更新用户
/// </summary>
[Description("更新用户")]
[DGColumn(Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string UPDATEUSERNAME { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[Description("更新时间")]
[HTMLInput(UpdateRead = true, MaxLength = 20)]
[InputType(inputType.hidden)]
[DGColumn(Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
public DateTime UPDATEDATE { get; set; }
/// <summary>
/// 订单类型
/// </summary>
[InputType(inputType.hidden)]
public string ORDER_TYPE { get; set; }
/// <summary>
/// 订单类型
/// </summary>
[InputType(inputType.hidden)]
public string WORKCENTER_CODE { get; set; }
public string PIDList { get; set; }
}
}