From 36ce9b026734367cac17e6ba95cfd76c00d150d3 Mon Sep 17 00:00:00 2001 From: payne <bzrlw2012@163.com> Date: 周二, 23 4月 2024 15:33:43 +0800 Subject: [PATCH] 增加实体 --- iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsSubstituteGood.cs | 92 +++++++++++++++++++++++ iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/BaseCustomer.cs | 146 ++++++++++++++++++++++++++++++++++++ 2 files changed, 238 insertions(+), 0 deletions(-) diff --git a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/BaseCustomer.cs b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/BaseCustomer.cs new file mode 100755 index 0000000..a31ec68 --- /dev/null +++ b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/BaseCustomer.cs @@ -0,0 +1,146 @@ +锘縰sing Microsoft.EntityFrameworkCore; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +/* + * @author : 鍒樻枃濂� + * @date : 2024/4/23涓嬪崍3:15:25 + * @desc : 瀹㈡埛妗f + */ +namespace Admin.NET.Core +{ + /// <summary> + /// 瀹㈡埛妗f + /// </summary> + [Table("base_customer")] + [Comment("瀹㈡埛妗f")] + public class BaseCustomer : DEntityBase + { + + + /// <summary> + /// 瀹㈡埛缂栧彿 + /// </summary> + [Comment("瀹㈡埛缂栧彿")] + [Required] + [MaxLength(50)] + public string CustCode { get; set; } + + + /// <summary> + /// 瀹㈡埛涓枃鍚嶇О + /// </summary> + [Comment("瀹㈡埛涓枃鍚嶇О")] + [Required] + [MaxLength(255)] + public string CustChinaName { get; set; } + + + /// <summary> + /// 瀹㈡埛鑻辨枃鍚嶇О + /// </summary> + [Comment("瀹㈡埛鑻辨枃鍚嶇О")] + [MaxLength(255)] + public string CustEnglishName { get; set; } + + + /// <summary> + /// 鍔╄鐮� + /// </summary> + [Comment("鍔╄鐮�")] + [MaxLength(255)] + public string MnemonicCode { get; set; } + + + /// <summary> + /// 绫诲瀷 + /// </summary> + [Comment("绫诲瀷")] + [Required] + + public int CustType { get; set; } + + + /// <summary> + /// 绫诲瀷鍚嶇О + /// </summary> + [Comment("绫诲瀷鍚嶇О")] + [Required] + [MaxLength(50)] + public string CustTypeName { get; set; } + + + /// <summary> + /// 鑱旂郴浜� + /// </summary> + [Comment("鑱旂郴浜�")] + [MaxLength(50)] + public string LinkMan { get; set; } + + + /// <summary> + /// 鐢佃瘽 + /// </summary> + [Comment("鐢佃瘽")] + [MaxLength(50)] + public string Phone { get; set; } + + + /// <summary> + /// 鐢靛瓙閭欢 + /// </summary> + [Comment("鐢靛瓙閭欢")] + [MaxLength(50)] + public string Email { get; set; } + + + /// <summary> + /// 閭紪 + /// </summary> + [Comment("閭紪")] + [MaxLength(50)] + public string ZipCode { get; set; } + + + /// <summary> + /// 鐪佷唤 + /// </summary> + [Comment("鐪佷唤")] + [MaxLength(50)] + public string Province { get; set; } + + + /// <summary> + /// 鍩庡競 + /// </summary> + [Comment("鍩庡競")] + [MaxLength(50)] + public string City { get; set; } + + + /// <summary> + /// 鍦板潃 + /// </summary> + [Comment("鍦板潃")] + [MaxLength(255)] + public string Address { get; set; } + + + /// <summary> + /// 鏄惁绂佺敤 + /// </summary> + [Comment("鏄惁绂佺敤")] + [Required] + + public bool IsDisabled { get; set; } + + + + + + + + + + } +} \ No newline at end of file diff --git a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsSubstituteGood.cs b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsSubstituteGood.cs new file mode 100755 index 0000000..5a7ce45 --- /dev/null +++ b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Core/Entity/WmsBase/WmsSubstituteGood.cs @@ -0,0 +1,92 @@ +锘縰sing Microsoft.EntityFrameworkCore; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +/* + * @author : 鍒樻枃濂� + * @date : 2024/4/23涓嬪崍3:31:02 + * @desc : 鏇夸唬鍝佺鐞� + */ +namespace Admin.NET.Core +{ + /// <summary> + /// 鏇夸唬鍝佺鐞� + /// </summary> + [Table("wms_substitute_good")] + [Comment("鏇夸唬鍝佺鐞�")] + public class WmsSubstituteGood : DEntityBase + { + + + /// <summary> + /// 鏇夸唬缂栧彿 + /// </summary> + [Comment("鏇夸唬缂栧彿")] + [Required] + [MaxLength(50)] + public string SubstituteCode { get; set; } + + + /// <summary> + /// 鐗╂枡缂栧彿 + /// </summary> + [Comment("鐗╂枡缂栧彿")] + [Required] + [MaxLength(50)] + public string MaterialCode { get; set; } + + + /// <summary> + /// 鐗╂枡鍚嶇О + /// </summary> + [Comment("鐗╂枡鍚嶇О")] + [Required] + [MaxLength(50)] + public string MaterialName { get; set; } + + + /// <summary> + /// 鏇夸唬鍝佺墿鏂欑紪鍙� + /// </summary> + [Comment("鏇夸唬鍝佺墿鏂欑紪鍙�")] + [Required] + [MaxLength(50)] + public string SubstituteMaterialCode { get; set; } + + + /// <summary> + /// 鏇夸唬鍝佺墿鏂欏悕绉� + /// </summary> + [Comment("鏇夸唬鍝佺墿鏂欏悕绉�")] + [Required] + [MaxLength(50)] + public string SubstituteMaterialName { get; set; } + + + /// <summary> + /// 鏇夸唬娆″簭 + /// </summary> + [Comment("鏇夸唬娆″簭")] + [Required] + + public int SubstituteIndex { get; set; } + + + /// <summary> + /// 鏄惁绂佺敤 + /// </summary> + [Comment("鏄惁绂佺敤")] + [Required] + + public bool IsDisabled { get; set; } + + + + + + + + + + } +} \ No newline at end of file -- Gitblit v1.9.3