using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using QMAPP.Web;
using QMFrameWork.WebUI;
using QMFrameWork.WebUI.Attribute;
namespace QMAPP.Web.Models.Sys
{
///
/// 用户委托授权-业务权限
///
public class UserEntrustPowerModel
{
///
/// 主键
///
[InputType(inputType.hidden)]
public string PID { get; set; }
///
/// 委托用户
///
[Description("委托用户")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36, Width = 150)]
[InputType(inputType.text)]
public string ENTRUSTUSER { get; set; }
[Description("委托用户")]
[HTMLInput(UpdateRead = false, required = true)]
[InputType(inputType.hidden)]
[DGColumn(Hidden = false, Sortable = true, Width = 80)]
public string ENTRUSTUSERID { get; set; }
///
/// 代理用户
///
[Description("代理用户")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36, Width = 150)]
[InputType(inputType.text)]
public string AGENTUSER { get; set; }
///
/// 代理用户
///
[Description("代理用户")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36, Width = 150)]
[InputType(inputType.combobox)]
[DGColumn(Hidden = false, Sortable = true, Width = 80)]
public string AGENTUSERID { get; set; }
///
/// 更新日期
///
[Description("更新日期")]
[InputType(inputType.hidden)]
public DateTime UpdateDate { get; set; }
[Description("仓库")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
public string CorpID { get; set; }
///
///仓库编号
///
[Description("仓库编号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4,Width=120)]
[InputType(inputType.text)]
public string CorpCode { get; set; }
///
///仓库名称
///
[Description("仓库名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 4,Width=120)]
[InputType(inputType.text)]
public string CorpName { get; set; }
///
///零件类别
///
[Description("零件类别")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
public string MatSortID { get; set; }
///
///零件类别编号
///
[Description("零件类别编号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 3, Width = 120)]
[InputType(inputType.text)]
public string MatSortNO { get; set; }
///
///零件类别名称
///
[Description("零件类别名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, Width = 120)]
[InputType(inputType.text)]
public string MatSortName { get; set; }
[Description("全部授权")]
[HTMLInput]
[InputType(inputType.checkBox)]
public bool AllLines { get; set; }
///
/// 路线
///
[Description("路线")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
public string LineID { get; set; }
///
///路线编号
///
[Description("路线编号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 3,Width=100)]
[InputType(inputType.text)]
public string LineNO { get; set; }
///
///路线名称
///
[Description("路线名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 3,Width=100)]
[InputType(inputType.combobox)]
public string LineName { get; set; }
///
///要货地
///
[Description("要货地")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
public string PLACEDISID { get; set; }
///
///要货地编号
///
[Description("要货地编号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 6, Width = 120)]
[InputType(inputType.text)]
public string PLACEDISNO { get; set; }
///
///要货地名称
///
[Description("要货地名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, Width = 120)]
[InputType(inputType.text)]
public string DESCRIBE_SITE { get; set; }
///
///发货地
///
[Description("发货地")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 36)]
[InputType(inputType.text)]
public string SENDPLACEID { get; set; }
///
///发货地编号
///
[Description("发货地编号")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 3, Width = 120)]
[InputType(inputType.text)]
public string SENDPLACENO { get; set; }
///
///发货地名称
///
[Description("发货地名称")]
[HTMLInput(UpdateRead = false, required = true, MaxLength = 50, Width = 120)]
[InputType(inputType.text)]
public string SENDPLACENAME { get; set; }
///
/// 已选中仓库(逗号分隔)
///
public string SelectedCorp { get; set; }
///
/// 相关仓库
///
public string CorpList { get; set; }
///
/// 相关路线
///
public string LineList { get; set; }
///
/// 相关零件类别
///
public string MatSortList { get; set; }
///
/// 相关要货地
///
public string RequestPlaceList { get; set; }
///
/// 相关发货地
///
public string SendPlaceList { get; set; }
}
}