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.
127 lines
3.9 KiB
127 lines
3.9 KiB
4 years ago
|
using System;
|
||
|
using System.Web.Mvc.Html;
|
||
|
using QMFrameWork.WebUI;
|
||
|
using QMFrameWork.WebUI.Attribute;
|
||
|
|
||
|
namespace QMAPP.FJC.Web.Models.Package
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 作 用:线边库存大屏显示
|
||
|
/// 作 者:周晓东
|
||
|
/// 编写日期:20180530
|
||
|
///</summary>
|
||
|
public class PackageModel : 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 = 50)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.left)]
|
||
|
public string PACKAGECODE { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///物料号
|
||
|
///</summary>
|
||
|
[Description("物料号")]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.left)]
|
||
|
public string MATERIAL_CODE { get; set; }
|
||
|
|
||
|
public string MATERIAL_NAME { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///容量
|
||
|
///</summary>
|
||
|
[Description("容量")]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
||
|
public int CAPACITY { get; set; }
|
||
|
|
||
|
public int CAPACITY_SET { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///使用数量
|
||
|
///</summary>
|
||
|
[Description("使用数量")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
|
||
|
[InputType(inputType.text)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
||
|
public int USINGCOUNT { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///使用状态:0未使用 1使用中 2使用完成
|
||
|
///</summary>
|
||
|
[Description("使用状态")]
|
||
|
[HTMLInput(UpdateRead = false, required = true, JsonUtl = "/PackageDisplay/GetFixedComboxSource?kind=UsingState&WithEmpty=false")]
|
||
|
[InputType(inputType.combobox)]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
|
||
|
public int USINGSTATE { get; set; }
|
||
|
|
||
|
///<summary>
|
||
|
///创建用户
|
||
|
///</summary>
|
||
|
[Description("创建用户")]
|
||
|
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("创建时间")]
|
||
|
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
|
||
|
public DateTime CREATEDATE { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///更新用户
|
||
|
///</summary>
|
||
|
[Description("更新用户")]
|
||
|
|
||
|
public string UPDATEUSER { get; set; }
|
||
|
|
||
|
|
||
|
///<summary>
|
||
|
///更新时间
|
||
|
///</summary>
|
||
|
[Description("更新时间")]
|
||
|
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
|
||
|
public DateTime UPDATEDATE { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 表格Mainhtml
|
||
|
/// </summary>
|
||
|
public string MainDataHtml { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 表格Childhtml
|
||
|
/// </summary>
|
||
|
public string ChildDataHtml { get; set; }
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
/// 差值
|
||
|
/// </summary>
|
||
|
public int CAPACITY_USINGCOUNT { get; set; }
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|