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.Stocktaking
{
public class StocktakingSearchModel : QDGModel
{
///
///主键
///
[Description("主键")]
[HTMLInput(UpdateRead = false, required = true,MaxLength = 36)]
[InputType(inputType.text)]
[DGColumn(Hidden = true, PrimaryKey = true)]
public string PID { get; set; }
///
///PLANID
///
[Description("外键")]
[HTMLInput(UpdateRead = false, required = true,MaxLength = 36)]
[InputType(inputType.text)]
[DGColumn(Hidden = true)]
public string PLANID { get; set; }
///
/////
/////工厂编号
/////
//[Description("工厂编号")]
//[HTMLInput(UpdateRead = false, required = true,MaxLength = 30, JsonUtl = "/Dict/GetNewFactoryComboxSource")]
//[InputType(inputType.combobox)]
//[DGColumn(frozenColumns = false, Sortable = true, Width= 150, DataAlign = DataAlign.center)]
//public string FACTORY_CODE { get; set; }
///
///计划单号
///
[Description("计划单号")]
[HTMLInput(UpdateRead = false, required = true,MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width= 130, DataAlign = DataAlign.center)]
public string PLAN_NO { get; set; }
///
///有无条码
///
[Description("有无条码")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30, Width = 185, JsonUtl = "/Dict/GetFixedComboxSource?kind=COUNTTYPE")]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 100, DataAlign = DataAlign.center)]
public string COUNTTYPE { get; set; }
///
///计划状态
///
[Description("计划状态")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30,Width = 180, JsonUtl = "/Dict/GetFixedComboxSource?kind=STOCK_PLAN_STATE")]
[InputType(inputType.combobox)]
[DGColumn(frozenColumns = false, Sortable = true, Width= 80, DataAlign = DataAlign.center)]
public string PLAN_STATE { get; set; }
///
///备注
///
[Description("备注")]
[HTMLInput(UpdateRead = false, required = false,MaxLength = 30, Width = 180, Height = 50)]
[InputType(inputType.textArea)]
[DGColumn(frozenColumns = false, Sortable = true, Width= 160, DataAlign = DataAlign.center, rowspan = 20)]
public string REMARK { get; set; }
///
///盘点日期
///
[Description("盘点日期")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30, Width = 180)]
[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; }
///
///登记数量
///
[Description("登记数量")]
[HTMLInput(UpdateRead = false, required = true,MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width= 80, DataAlign = DataAlign.center)]
public string REGISTNUMBER { get; set; }
///
///实际数量
///
[Description("实际数量")]
[HTMLInput(UpdateRead = false, required = true,MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width= 80, DataAlign = DataAlign.center)]
public string ACTUALNUMBER { get; set; }
///
///异常状态
///
[Description("异常状态")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width = 80, DataAlign = DataAlign.center)]
public string ERROWSTATUS { get; set; }
///
///创建人
///
[Description("创建人")]
[HTMLInput(UpdateRead = false, required = true,MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width= 80, DataAlign = DataAlign.center)]
public string CREATEUSERNAME { get; set; }
public string CREATEUSER { get; set; }
///
///创建时间
///
[Description("创建时间")]
[HTMLInput(UpdateRead = false, required = true,MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width= 150, DataAlign = DataAlign.center)]
public DateTime CREATEDATE { get; set; }
///
///修改人
///
[Description("修改人")]
[HTMLInput(UpdateRead = false, required = true,MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width= 100, DataAlign = DataAlign.center)]
public string UPDATEUSERNAME { get; set; }
public string UPDATEUSER { get; set; }
///
///修改时间
///
[Description("修改时间")]
[HTMLInput(UpdateRead = false, required = true,MaxLength = 30)]
[InputType(inputType.text)]
[DGColumn(frozenColumns = false, Sortable = true, Width= 150, DataAlign = DataAlign.center)]
public DateTime UPDATEDATE { get; set; }
///
/// 物料类别
///
[Description("物料类别")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 100, JsonUtl = "/Dict/GetMaterialClassComboxSource")]
[InputType(inputType.combotree)]
//[DGColumn(frozenColumns = false, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public string MATERIAL_TYPE_CODE { get; set; }
///
///物料分类名称
///
[Description("物料分类名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.text)]
//[DGColumn(frozenColumns = true, Hidden = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public string MATERIAL_YPE_Name { get; set; }
///
///物料号
///
[Description("物料号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50)]
[InputType(inputType.combobox)]
//[DGColumn(frozenColumns = true, Sortable = true, Width = 150, DataAlign = DataAlign.center)]
public string MATERIAL_CODE { get; set; }
///
/// 物料id
///
[Description("物料id")]
public string MaterialCodes { get; set; }
public string EDITFLAG { get; set; }
}
}