From f75dd7884534d4463b333bb534c4589df528eac2 Mon Sep 17 00:00:00 2001 From: wanghaomei Date: Wed, 17 May 2023 10:24:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E5=85=AC=E5=8F=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Entity/PingTai/PingTaiCompany.cs | 66 +++++++++++++++++++ Myshipping.Web.Core/dbsettings.json | 2 +- 2 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 Myshipping.Core/Entity/PingTai/PingTaiCompany.cs diff --git a/Myshipping.Core/Entity/PingTai/PingTaiCompany.cs b/Myshipping.Core/Entity/PingTai/PingTaiCompany.cs new file mode 100644 index 0000000..aaf180f --- /dev/null +++ b/Myshipping.Core/Entity/PingTai/PingTaiCompany.cs @@ -0,0 +1,66 @@ +using SqlSugar; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Myshipping.Core.Entity.PingTai +{ + [SugarTable("company_new")] + [Description("平台公司")] + public class PingTaiCompany: PingTaiDbEntity + { + public const string AuditStatusNotSubmit = "NotSubmit"; + public const string AuditStatusAuditing = "Auditing"; + public const string AuditStatusSuccess = "Success"; + public const string AuditStatusReject = "Reject"; + + [SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true)] + public string CompId { get; set; } + public string CompName { get; set; } + public string SourceName { get; set; } + public int AlertMinValue { get; set; } + public string AuditStatus { get; set; } + public string AuditText { get; set; } + public string AdminUser { get; set; } + public string AdminShowName { get; set; } + public string Address { get; set; } + public string Tel { get; set; } + public string TaxCode { get; set; } + /// + /// 海关登记号 + /// + public string CustomsCode { get; set; } + public string BankName { get; set; } + public string BankAccount { get; set; } + public string LicenceImage { get; set; } + public string InvoiceSystem { get; set; } + public string InvoiceApi { get; set; } + + public string EmailShowName { get; set; } + + public bool MinValueSMS { get; set; } + public bool MinValueEmail { get; set; } + public string MinValueEmailAddr { get; set; } + + /// + /// 英文名 + /// + public string EnName { get; set; } + + //logo图片路径 + public string LogoPath { get; set; } + + /// + /// 舱单传输人备案号 + /// + public string CangdanCode { get; set; } + + /// + /// 宣传标语 + /// + public string Slogan { get; set; } + } +} diff --git a/Myshipping.Web.Core/dbsettings.json b/Myshipping.Web.Core/dbsettings.json index dbff4bc..779a5a1 100644 --- a/Myshipping.Web.Core/dbsettings.json +++ b/Myshipping.Web.Core/dbsettings.json @@ -2,7 +2,7 @@ "ConnectionStrings": { "DefaultDbNumber": "0", "DefaultDbType": "MySql", - "DefaultDbString": "Data Source=60.209.125.238;Database=booking_hechuan_dev;User ID=djy;Password=123qwe;pooling=true;port=28012;sslmode=none;CharSet=utf8mb4;Convert Zero Datetime=True;Allow Zero Datetime=True;", + "DefaultDbString": "Data Source=60.209.125.238;Database=booking_customer;User ID=djy;Password=123qwe;pooling=true;port=28012;sslmode=none;CharSet=utf8mb4;Convert Zero Datetime=True;Allow Zero Datetime=True;", "DbConfigs": [ { "DbNumber": "1",