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 | 77 +++++++++++++++++++++----------------- 1 files changed, 43 insertions(+), 34 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 bc7aa39..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涓嬪崍4:08:49 - * @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> @@ -46,38 +46,47 @@ /// <summary> - /// 瀹㈡埛ID + /// 鏇夸唬鍝佺墿鏂欑紪鍙� /// </summary> - [Comment("瀹㈡埛ID")] - [Required] - - public long CustId { get; set; } - - - /// <summary> - /// 瀹㈡埛缂栧彿 - /// </summary> - [Comment("瀹㈡埛缂栧彿")] + [Comment("鏇夸唬鍝佺墿鏂欑紪鍙�")] [Required] [MaxLength(50)] - public string CustCode { get; set; } + public string SubstituteMaterialCode { get; set; } /// <summary> - /// 瀹㈡埛鑻辨枃鍚嶇О + /// 鏇夸唬鍝佺墿鏂欏悕绉� /// </summary> - [Comment("瀹㈡埛鑻辨枃鍚嶇О")] - [MaxLength(255)] - public string CustEnglishName { get; set; } - - - /// <summary> - /// 瀹㈡埛涓枃鍚嶇О - /// </summary> - [Comment("瀹㈡埛涓枃鍚嶇О")] + [Comment("鏇夸唬鍝佺墿鏂欏悕绉�")] [Required] - [MaxLength(255)] - public string CustChinaName { get; set; } + [MaxLength(50)] + public string SubstituteMaterialName { get; set; } + + + /// <summary> + /// 鏇夸唬娆″簭 + /// </summary> + [Comment("鏇夸唬娆″簭")] + [Required] + + public int SubstituteIndex { get; set; } + + + /// <summary> + /// 鐗堟湰鍙� + /// </summary> + [Comment("鐗堟湰鍙�")] + [MaxLength(50)] + public string VersionNO { get; set; } + + + /// <summary> + /// 鏄惁绂佺敤 + /// </summary> + [Comment("鏄惁绂佺敤")] + [Required] + + public bool IsDisabled { get; set; } -- Gitblit v1.9.3