| | |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Common; |
| | | using WIDESEA_Common.CommonEnum; |
| | | using WIDESEA_Common.MaterielEnum; |
| | | using WIDESEA_Core.DB.Models; |
| | | |
| | | namespace WIDESEA_Model.Models |
| | |
| | | [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主é®")] |
| | | public int Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä»åºç¼å·ï¼åºæ¿ç¼å· |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "ä»åºç¼å·")] |
| | | public int WarehouseId { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// ç©æç¼ç |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Goods_no", IsNullable = true, Length = 50, ColumnDescription = "è¯åç¼ç ï¼å¯ä¸ï¼")] |
| | | public string Goods_no { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// è´§ç©ç±»å/è¯å/卿 |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "MaterialCode", IsNullable = true, Length = 50, ColumnDescription = "è´§ç©ç±»å/è¯å/卿")] |
| | | public string MaterialCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// è¯åéç¨å |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Goods_tym", IsNullable = true, Length = 50, ColumnDescription = "è¯åéç¨å")] |
| | | public string Goods_tym { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// è¯ååç§° |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Goods_spm", IsNullable = true, Length = 50, ColumnDescription = "è¯ååç§°")] |
| | | public string Goods_spm { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Model", IsNullable = true, Length = 70, ColumnDescription = "è§æ ¼")] |
| | | public string Model { get; set; } |
| | | /// <summary> |
| | | /// ç©æè§æ ¼ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Model", IsNullable = true, Length = 70, ColumnDescription = "ç©æè§æ ¼")] |
| | | public string Model { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç©æåºæ¬åç±»(1:æåã2:åæåã3:åææã4:å¤ä»¶)ï¼å
¨é¨é»è®¤æå |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "ç©æåºæ¬åç±»(1:æåã2:åæåã3:åææã4:å¤ä»¶)")] |
| | | public MaterielTypeEnum MaterielType { get; set; } = MaterielTypeEnum.FinishProduct; |
| | | |
| | | /// <summary> |
| | | /// ç©æå±æ§åç±»(1:大件ã2:å°ä»¶) |
| | | /// å¤§ä»¶åªæ¾å¹³åºï¼å°ä»¶æ ¹æ®ç«åºæä½åºåæ°åç®±è§(æ£è´§)åºåæ¯å¦å
¥ç«åº |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "ç©æå±æ§åç±»(1:大件ã2:å°ä»¶)")] |
| | | public MaterielSourceTypeEnum MaterielSourceType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç产åå®¶ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Factory", IsNullable = true, Length = 50, ColumnDescription = "ç产åå®¶")] |
| | | public string Factory { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 计éåä½ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Unit", IsNullable = true, Length = 20, ColumnDescription = "计éåä½")] |
| | | public string Unit { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// ååé¿åº¦ï¼æ¯«ç±³ä¸ºåä½ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Item_Iength", IsNullable = true, ColumnDescription = "ååé¿åº¦ï¼æ¯«ç±³ä¸ºåä½")] |
| | | public decimal? Item_Iength { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ååå®½åº¦ï¼æ¯«ç±³ä¸ºåä½ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Item_width", IsNullable = true, ColumnDescription = "ååå®½åº¦ï¼æ¯«ç±³ä¸ºåä½")] |
| | | public decimal ?Item_width { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// ååé«åº¦ï¼æ¯«ç±³ä¸ºåä½ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Item_hight", IsNullable = true, ColumnDescription = "ååé«åº¦ï¼æ¯«ç±³ä¸ºåä½")] |
| | | public decimal? Item_hight { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// ååä½ç§¯ï¼ç«æ¹æ¯«ç±³ä¸ºåä½ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Item_volumn", IsNullable = true, ColumnDescription = "ååä½ç§¯ï¼ç«æ¹æ¯«ç±³ä¸ºåä½")] |
| | | public decimal ?Item_volumn { get; set; } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// ååééï¼å
为åä½ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Item_weight", IsNullable = true, ColumnDescription = "ååééï¼å
为åä½")] |
| | | public decimal ?Item_weight { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// å¨åæ¡ä»¶ |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Storage_cond", IsNullable = true, Length = 100, ColumnDescription = "å¨åæ¡ä»¶")] |
| | | public string Storage_cond { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç®±è§ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "ç®±è§")] |
| | | public decimal BoxQty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç«åºæä½åºåæ° |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "ç«åºæä½åºåæ°")] |
| | | public decimal MinQty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç«åºä¸å¡åºåæ°;æ ¹æ®åºå
¥åºæ°éåå |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "ç«åºä¸å¡åºåæ°")] |
| | | public decimal Business_qty { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç«åºæé«åºåæ° |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "ç«åºæé«åºåæ°")] |
| | | public float? MaxQty { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// ç©æç¶æ(0:ç¦ç¨ã1:å¯ç¨) |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "ç©æç¶æ(0:ç¦ç¨ã1:å¯ç¨)")] |
| | | public EnableEnum MaterielState { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "GoodStatus", IsNullable = true, Length = 50, ColumnDescription = "è¯åç¶æï¼æ¯å¦ä¸åç»wcsï¼æªä¸åï¼ä¸å宿")] |
| | | public string GoodStatus { get; set; } |
| | | |
| | | |
| | | [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "夿³¨")] |
| | | public string Remark { get; set; } |
| | | |
| | | |
| | | [SugarColumn(ColumnName = "GoodStatus", IsNullable = true, Length = 50, ColumnDescription = "è¯åç¶æï¼æ¯å¦ä¸åç»wcsï¼æªä¸åï¼ä¸å宿")] |
| | | public string GoodStatus { get; set; } |
| | | |
| | | |
| | | } |