using System;
using System.Web.Mvc.Html;
using QMFrameWork.WebUI;
using QMFrameWork.WebUI.Attribute;
namespace QMAPP.FJC.Web.Models.Package
{
///
/// 作 用:线边库存大屏显示
/// 作 者:周晓东
/// 编写日期:20180530
///
public class PackageModel : QDGModel
{
///
///加工记录主键
///
[Description("主键")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string PID { get; set; }
///
///箱号
///
[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; }
///
///物料号
///
[Description("物料号")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.left)]
public string MATERIAL_CODE { get; set; }
public string MATERIAL_NAME { get; set; }
///
///容量
///
[Description("容量")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public int CAPACITY { get; set; }
public int CAPACITY_SET { get; set; }
///
///使用数量
///
[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; }
///
///使用状态:0未使用 1使用中 2使用完成
///
[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; }
///
///创建用户
///
[Description("创建用户")]
public string CREATEUSER { get; set; }
///
///创建用户
///
[Description("创建用户")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.left)]
public string CREATEUSERNAME { get; set; }
///
///创建时间
///
[Description("创建时间")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
public DateTime CREATEDATE { get; set; }
///
///更新用户
///
[Description("更新用户")]
public string UPDATEUSER { get; set; }
///
///更新时间
///
[Description("更新时间")]
[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center, FormatDate = "yyyy-MM-dd hh:mm:ss")]
public DateTime UPDATEDATE { get; set; }
///
/// 表格Mainhtml
///
public string MainDataHtml { get; set; }
///
/// 表格Childhtml
///
public string ChildDataHtml { get; set; }
///
/// 差值
///
public int CAPACITY_USINGCOUNT { get; set; }
}
}