From 8689435a70b93fc93f59e70a74b58c3dfdaa4353 Mon Sep 17 00:00:00 2001 From: shanj <18996038927@163.com> Date: Thu, 15 Sep 2022 00:59:36 +0800 Subject: [PATCH] =?UTF-8?q?1=E8=B4=A2=E5=8A=A1=E5=AE=A1=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FinancialTerminalBusiness.cs | 15 +++ .../Db/FinancialTerminal/AuditPayBill.cs | 106 ++++++++++++++++++ 2 files changed, 121 insertions(+) create mode 100644 BBWY.Server.Business/FinancialTerminal/FinancialTerminalBusiness.cs create mode 100644 BBWY.Server.Model/Db/FinancialTerminal/AuditPayBill.cs diff --git a/BBWY.Server.Business/FinancialTerminal/FinancialTerminalBusiness.cs b/BBWY.Server.Business/FinancialTerminal/FinancialTerminalBusiness.cs new file mode 100644 index 00000000..27bdb4b4 --- /dev/null +++ b/BBWY.Server.Business/FinancialTerminal/FinancialTerminalBusiness.cs @@ -0,0 +1,15 @@ +using BBWY.Common.Models; +using Yitter.IdGenerator; + +namespace BBWY.Server.Business +{ + public class FinancialTerminalBusiness: BaseBusiness, IDenpendency + { + public FinancialTerminalBusiness(IFreeSql fsql, NLog.ILogger logger, IIdGenerator idGenerator) : base(fsql, logger, idGenerator) + { + + } + + + } +} diff --git a/BBWY.Server.Model/Db/FinancialTerminal/AuditPayBill.cs b/BBWY.Server.Model/Db/FinancialTerminal/AuditPayBill.cs new file mode 100644 index 00000000..bcea873d --- /dev/null +++ b/BBWY.Server.Model/Db/FinancialTerminal/AuditPayBill.cs @@ -0,0 +1,106 @@ +using FreeSql.DataAnnotations; +using System; + +namespace BBWY.Server.Model.Db +{ + + [Table(Name = "auditpaybill", DisableSyncStructure = true)] + public partial class AuditPayBill + { + + /// + /// 账单流水号 + /// + [ Column(IsPrimary = true)] + public long PayBillNo { get; set; } + + /// + /// 归属店铺 + /// + [ Column(StringLength = 50)] + public string BelongShop { get; set; } + + /// + /// 归属店铺Id + /// + + public int? BelongShopId { get; set; } + + [ Column(DbType = "datetime")] + public DateTime? CreateTime { get; set; } + + /// + /// 支出金额 + /// + [ Column(DbType = "decimal(18,2)")] + public decimal? ExpenditureAmount { get; set; } + + /// + /// 收入金额 + /// + [ Column(DbType = "decimal(18,2)")] + public decimal? IncomeAmount { get; set; } + + /// + /// 是否支持商户订单号 + /// + + public bool? IsSupportMerchantOrderNo { get; set; } + + /// + /// 格式化之后的商家订单号 + /// + + public string MerchantOrderNo { get; set; } + + /// + /// 对方账户 + /// + + public string OppositeAccount { get; set; } + + /// + /// 账单类型 + /// + [ Column(DbType = "int(1)")] + public int? PayBillType { get; set; } + + /// + /// 支付时间 + /// + [ Column(DbType = "datetime")] + public DateTime? PayTime { get; set; } + + /// + /// 商品名称 + /// + + public string ProductName { get; set; } + + /// + /// 关联采购订单号 + /// + [ Column(StringLength = 100)] + public string RelationPurchaseOrderId { get; set; } + + /// + /// 关联平台订单Id + /// + [ Column(StringLength = 50, IsNullable = false)] + public string RelationShopOrderId { get; set; } + + /// + /// 备注 + /// + + public string Remark { get; set; } + + /// + /// 原始商家订单号 + /// + + public string SourceMerchantOrderNo { get; set; } + + } + +}