淘宝退款接收

This commit is contained in:
wanyongkang
2020-10-13 19:24:10 +08:00
parent d55674a860
commit 34ca6e5282
7 changed files with 322 additions and 3 deletions

View File

@@ -23,6 +23,7 @@ namespace Hncore.Pass.Sells.Domain
public virtual DbSet<CouponUserOrginEntity> SellCouponUserOrgin { get; set; }
public virtual DbSet<CouponUserUseEntity> SellCouponUserUse { get; set; }
public virtual DbSet<TaoBaoOrderEntity> SellerTaoBao { get; set; }
public virtual DbSet<TaoBaoRefundEntity> SellerTaoBaoRefund { get; set; }
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
@@ -61,6 +62,13 @@ namespace Hncore.Pass.Sells.Domain
entity.Property(e => e.Id).ValueGeneratedOnAdd();
});
modelBuilder.Entity<TaoBaoRefundEntity>(entity =>
{
entity.ToTable("sell_taobao_refund");
entity.HasKey(p => p.Id);
entity.Property(e => e.Id).ValueGeneratedOnAdd();
});
base.OnModelCreating(modelBuilder);
}
}

View File

@@ -0,0 +1,22 @@
using Hncore.Infrastructure.DDD;
using Hncore.Pass.Sells.Model;
using System;
using System.Collections.Generic;
namespace Hncore.Pass.Sells.Domain
{
public partial class TaoBaoRefundEntity
{
public int Id { get; set; }
public string RefundId { get; set; }
public string BuyerNick { get; set; }
public string RefundFee { get; set; }
public string Oid { get; set; }
public string Tid { get; set; }
public string RefundPhase { get; set; }
public string BillType { get; set; }
public string SellerNick { get; set; }
public string Modified { get; set; }
public string Phone { get; set; }
}
}