From eba13e7a60ed11b4f23197a8bde192489f68b73d Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 23 Mar 2026 18:18:51 +0100 Subject: [PATCH] CustomerCredit table --- FruitBank.Common/Entities/CustomerCredit.cs | 14 ++++++++++++++ FruitBank.Common/FruitBankConstClient.cs | 5 +++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 FruitBank.Common/Entities/CustomerCredit.cs diff --git a/FruitBank.Common/Entities/CustomerCredit.cs b/FruitBank.Common/Entities/CustomerCredit.cs new file mode 100644 index 00000000..145a5aa3 --- /dev/null +++ b/FruitBank.Common/Entities/CustomerCredit.cs @@ -0,0 +1,14 @@ +using AyCode.Interfaces.EntityComment; +using FruitBank.Common.Interfaces; +using Mango.Nop.Core.Entities; + +namespace FruitBank.Common.Entities; + +public class CustomerCredit: MgEntityBase, IEntityComment +{ + public int CustomerId { get; set; } + public decimal CreditLimit { get; set; } + public string? Comment { get; set; } + public DateTime CreatedOnUtc { get; set; } + public DateTime UpdatedOnUtc { get; set; } +} \ No newline at end of file diff --git a/FruitBank.Common/FruitBankConstClient.cs b/FruitBank.Common/FruitBankConstClient.cs index befaaa01..623078d9 100644 --- a/FruitBank.Common/FruitBankConstClient.cs +++ b/FruitBank.Common/FruitBankConstClient.cs @@ -43,9 +43,10 @@ public static class FruitBankConstClient public const string StockTakingDbTableName = "fbStockTaking"; public const string StockTakingItemDbTableName = "fbStockTakingItem"; public const string StockTakingItemPalletDbTableName = "fbStockTakingItemPallet"; - + public const string CustomerCreditDbTableName = "fbCustomerCredit"; + + - //public static Guid[] DevAdminIds = new Guid[2] { Guid.Parse("dcf451d2-cc4c-4ac2-8c1f-da00041be1fd"), Guid.Parse("4cbaed43-2465-4d99-84f1-c8bc6b7025f7") }; //public static Guid[] SysAdmins = new Guid[3] //{