From 9f5ce01508e4b57eae8b8a70167cce5b080acde5 Mon Sep 17 00:00:00 2001 From: payne <bzrlw2012@163.com> Date: 周二, 23 4月 2024 16:15:34 +0800 Subject: [PATCH] 修改 --- iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsMaterialCustomer.cs | 59 ++++++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 38 insertions(+), 21 deletions(-) diff --git a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsMaterialCustomer.cs b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsMaterialCustomer.cs index 9ab229e..ee8db96 100755 --- a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsMaterialCustomer.cs +++ b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsMaterialCustomer.cs @@ -4,27 +4,27 @@ /* * @author : 鍒樻枃濂� - * @date : 2024/4/23涓嬪崍1:44:59 - * @desc : 鐗╂枡瀹㈡埛鍏宠仈琛� + * @date : 2024/4/23涓嬪崍4:14:52 + * @desc : 鏇夸唬鍝佺鐞� */ namespace Admin.NET.Core { /// <summary> - /// 鐗╂枡瀹㈡埛鍏宠仈琛� + /// 鏇夸唬鍝佺鐞� /// </summary> - [Table("wms_material_customer")] - [Comment("鐗╂枡瀹㈡埛鍏宠仈琛�")] - public class WmsMaterialCustomer : DEntityBase + [Table("wms_substitute_good")] + [Comment("鏇夸唬鍝佺鐞�")] + public class WmsSubstituteGood : DEntityBase { /// <summary> - /// 鐗╂枡ID + /// 鏇夸唬缂栧彿 /// </summary> - [Comment("鐗╂枡ID")] + [Comment("鏇夸唬缂栧彿")] [Required] - - public long MaterialId { get; set; } + [MaxLength(50)] + public string SubstituteCode { get; set; } /// <summary> @@ -33,7 +33,7 @@ [Comment("鐗╂枡缂栧彿")] [Required] [MaxLength(50)] - public string MaterialNo { get; set; } + public string MaterialCode { get; set; } /// <summary> @@ -46,30 +46,47 @@ /// <summary> - /// 瀹㈡埛ID + /// 鏇夸唬鍝佺墿鏂欑紪鍙� /// </summary> - [Comment("瀹㈡埛ID")] + [Comment("鏇夸唬鍝佺墿鏂欑紪鍙�")] [Required] - - public long CustId { get; set; } + [MaxLength(50)] + public string SubstituteMaterialCode { get; set; } /// <summary> - /// 瀹㈡埛缂栧彿 + /// 鏇夸唬鍝佺墿鏂欏悕绉� /// </summary> - [Comment("瀹㈡埛缂栧彿")] + [Comment("鏇夸唬鍝佺墿鏂欏悕绉�")] [Required] [MaxLength(50)] - public string CustCode { get; set; } + public string SubstituteMaterialName { get; set; } /// <summary> - /// 瀹㈡埛鍚嶇О + /// 鏇夸唬娆″簭 /// </summary> - [Comment("瀹㈡埛鍚嶇О")] + [Comment("鏇夸唬娆″簭")] [Required] + + public int SubstituteIndex { get; set; } + + + /// <summary> + /// 鐗堟湰鍙� + /// </summary> + [Comment("鐗堟湰鍙�")] [MaxLength(50)] - public string CustName { get; set; } + public string VersionNO { get; set; } + + + /// <summary> + /// 鏄惁绂佺敤 + /// </summary> + [Comment("鏄惁绂佺敤")] + [Required] + + public bool IsDisabled { get; set; } -- Gitblit v1.9.3