using System; using WMS.Attirubte; using System.ComponentModel; namespace WMS.Model.Stock { [Serializable] [TableClmAttribute(TableName = "T_STOCK_AREA_REP_IN")] public class AreaRepInModel { #region Model private string _area_rep_id = string.Empty; private string _in_loc_id = string.Empty; private decimal _plan_count = 0; private decimal _real_count = 0; private string _goods_id = string.Empty; private string _tab_in_id = string.Empty; private string _goods_name = string.Empty; private decimal _mistock_num = 0; private string _unit = string.Empty; private string _scale_unit = string.Empty; private decimal _price = 0; private string _unit_name = string.Empty; private int _sort = 0; private decimal _temp_count = 0; /// /// 库区间调拨单编号 /// [DisplayName("调拨单编号")] public string AREA_REP_ID { set { _area_rep_id = value; } get { return _area_rep_id; } } /// /// 入库库位编号 /// [DisplayName("入库库位")] public string IN_LOC_ID { set { _in_loc_id = value; } get { return _in_loc_id; } } /// /// 计划数量 /// [DisplayName("Qty")] public decimal PLAN_COUNT { set { _plan_count = value; } get { return _plan_count; } } /// /// 实际数量 /// [DisplayName("Real Qty")] public decimal REAL_COUNT { set { _real_count = value; } get { return _real_count; } } /// /// GoodsNumber /// [DisplayName("Inventory Id")] public string GOODS_ID { set { _goods_id = value; } get { return _goods_id; } } /// /// 物料 /// [DisplayName("Desciption")] public string GOODS_NAME { set { _goods_name = value; } get { return _goods_name; } } /// /// 库区间调拨单入库明细编号 /// [DisplayName("入库明细编号")] public string TAB_IN_ID { set { _tab_in_id = value; } get { return _tab_in_id; } } /// /// 该库区总库存数 /// [DisplayName("库区库存")] public decimal MISTOCK_NUM { set { _mistock_num = value; } get { return _mistock_num; } } /// /// UNIT /// [DisplayName("UNIT")] [TableClmAttribute(JoinTableClmName = "VC_DICTIONARY_NAME", JoinTableClm = "VC_CHAR_VALUE", ClmJoinTable = "t_sys_dictionary_tab", JoinTableWhere = " VC_DICTIONARY_TYPE = 'vc_uom' and c_flag = '1' ")] public string UNIT { set { _unit = value; } get { return _unit; } } /// /// 重量UNIT /// [DisplayName("重量UNIT")] [TableClmAttribute(JoinTableClmName = "VC_DICTIONARY_NAME", JoinTableClm = "VC_CHAR_VALUE", ClmJoinTable = "t_sys_dictionary_tab", JoinTableWhere = " VC_DICTIONARY_TYPE = 'kg_unit' and c_flag = '1' ")] public string SCALE_UNIT { set { _scale_unit = value; } get { return _scale_unit; } } /// /// 标准价格 /// [DisplayName("标准价格")] public decimal PRICE { set { _price = value; } get { return _price; } } /// /// UNIT /// [DisplayName("UNIT")] [TableClm(NoSelect = false)] public string UNIT_NAME { set { _unit_name = value; } get { return _unit_name; } } /// /// 序号 /// [DisplayName("序号")] [TableClm(NoSelect = false)] public int SORT { set { _sort = value; } get { return _sort; } } /// /// 用于分配入库批次号 /// [TableClm(NoSelect = false)] public decimal TEMP_COUNT { set { _temp_count = value; } get { return _temp_count; } } #endregion Model } }