using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Serialization; using System.ComponentModel; using WMS.Attirubte; namespace WMS.Model.Base { /// /// 物料计量UNIT /// [Serializable] [TableClmAttribute(TableName = "T_BASE_GOODS_MEASURE")] public class GoodsMeasureModel { private string _update_man; private DateTime _update_date; private DateTime _create_date; private string _create_man; public GoodsMeasureModel() { GOODS_MEASURE_ID = string.Empty; GOODS_ID = string.Empty; UNIT_ID = string.Empty; CONVERSION_RATIO = 0; STORAGE_LOCATION = 0; CASES_STORED = 0; BOX_CASES_STORED = 0; GLONG = 0; GWIDTH = 0; GHEIGHT = 0; GVOLUME = 0; REMARK = string.Empty; VERSION = string.Empty; UNIT_NAME = string.Empty; } /// ///规格编号 /// [DisplayName("规格编号")] public virtual string GOODS_MEASURE_ID {get;set;} /// ///规格名称 /// [DisplayName("规格名称")] public virtual string GOODS_MEASURE_NAME { get; set; } /// ///GOODS_ID /// [DisplayName("物料编号")] [TableClmAttribute(JoinTableClmName = "GOODS_NAME", JoinTableClm = "GOODS_ID", ClmJoinTable = "T_BASE_GOODS")] public virtual string GOODS_ID {get;set;} /// ///UNIT编号 关联 T_SYS_DICTIONARY_TAB表取值 /// [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 virtual string UNIT_ID {get;set;} /// ///UNIT /// [DisplayName("单位名称")] [TableClm(NoSelect = false)] public virtual string UNIT_NAME { get; set; } /// ///换算比率 /// [DisplayName("换算比率")] public virtual decimal CONVERSION_RATIO {get;set;} [DisplayName("比例")] public virtual string SCALING { get; set; } /// ///存储库位值 /// [DisplayName("存储库位值")] public virtual decimal STORAGE_LOCATION {get;set;} /// ///托(箱)存储值 /// [DisplayName("托(箱)存储值")] public virtual decimal CASES_STORED {get;set;} /// ///周转箱存储值 /// [DisplayName("周转箱存储值")] public virtual decimal BOX_CASES_STORED {get;set;} /// ///长 /// [DisplayName("长")] public virtual decimal GLONG {get;set;} /// ///宽 /// [DisplayName("宽")] public virtual decimal GWIDTH {get;set;} /// ///高 /// [DisplayName("高")] public virtual decimal GHEIGHT {get;set;} /// ///体积 /// [DisplayName("体积")] public virtual decimal GVOLUME { get; set; } /// ///备注 /// [DisplayName("备注")] public virtual string REMARK {get;set;} /// ///版本 /// [DisplayName("版本")] public virtual string VERSION {get;set;} /// ///创建人 /// [DisplayName("创建人")] [TableClmAttribute(NoSelect = false, JoinTableClmName = "NAME", JoinTableClm = "USER_ID", ClmJoinTable = "T_BASE_USERINFO")] public string CREATE_MAN { get { return _create_man; } set { _create_man = value; } } /// ///创建时间 /// [DisplayName("创建时间")] [TableClm(NoSelect = false)] public DateTime CREATE_DATE { get { return _create_date; } set { _create_date = value; } } /// ///修改人 /// [DisplayName("修改人")] [TableClmAttribute(NoSelect = false, JoinTableClmName = "NAME", JoinTableClm = "USER_ID", ClmJoinTable = "T_BASE_USERINFO")] public string UPDATE_MAN { get { return _update_man; } set { _update_man = value; } } /// ///修改时间 /// [DisplayName("修改时间")] [TableClm(NoSelect = false)] public DateTime UPDATE_DATE { get { return _update_date; } set { _update_date = value; } } } }