忽略dll文件git

This commit is contained in:
“wanyongkang”
2023-07-29 10:19:42 +08:00
parent 7f97317bcc
commit b562aba2b1
3868 changed files with 63608 additions and 385427 deletions

View File

@@ -1,31 +1,31 @@
using Hncore.Infrastructure.DDD;
using Hncore.Pass.Sells.Model;
using System;
using System.Collections.Generic;
namespace Hncore.Pass.Sells.Domain
{
public partial class CouponEntity : EntityWithDelete<int>, ITenant
{
public int TenantId { get; set; } = 0;
public int? StoreId { get; set; } = 0;
public string Name { get; set; }
public string Remark { get; set; }
public ECouponType CouponType { get; set; }
public int? TotalCount { get; set; }
public int? GrantCount { get; set; } = 0;
public int? UsedCount { get; set; } = 0;
public int? GetLimitCount { get; set; }
public ECouponUseRange UseRange { get; set; }
public int AllowMinAmount { get; set; }
public int CouponValue { get; set; }
public ECouponDateRule DateRule { get; set; }
public int ValidDay { get; set; }
public DateTime? StartDate { get; set; } = DateTime.Now;
public DateTime? EndDate { get; set; } = DateTime.Now;
public DateTime? CreateDate { get; set; } = DateTime.Now;
public int IsOverlay { get; set; }
public int IsOpen { get; set; }
public int? Disabled { get; set; } = 0;
}
}
using Hncore.Infrastructure.DDD;
using Hncore.Pass.Sells.Model;
using System;
using System.Collections.Generic;
namespace Hncore.Pass.Sells.Domain
{
public partial class CouponEntity : EntityWithDelete<int>, ITenant
{
public int TenantId { get; set; } = 0;
public int? StoreId { get; set; } = 0;
public string Name { get; set; }
public string Remark { get; set; }
public ECouponType CouponType { get; set; }
public int? TotalCount { get; set; }
public int? GrantCount { get; set; } = 0;
public int? UsedCount { get; set; } = 0;
public int? GetLimitCount { get; set; }
public ECouponUseRange UseRange { get; set; }
public int AllowMinAmount { get; set; }
public int CouponValue { get; set; }
public ECouponDateRule DateRule { get; set; }
public int ValidDay { get; set; }
public DateTime? StartDate { get; set; } = DateTime.Now;
public DateTime? EndDate { get; set; } = DateTime.Now;
public DateTime? CreateDate { get; set; } = DateTime.Now;
public int IsOverlay { get; set; }
public int IsOpen { get; set; }
public int? Disabled { get; set; } = 0;
}
}

View File

@@ -1,18 +1,18 @@
using Hncore.Infrastructure.DDD;
using System;
using System.Collections.Generic;
namespace Hncore.Pass.Sells.Domain
{
public partial class CouponResourceEntity : EntityWithDelete<int>, ITenant
{
public int TenantId { get; set; }
public int? StoreId { get; set; }
public int? CouponId { get; set; }
public int? ResourceId { get; set; }
public string ResourceImage { get; set; }
public string ResourceName { get; set; }
public int? ResourceType { get; set; }
public decimal? Price { get; set; }
}
}
using Hncore.Infrastructure.DDD;
using System;
using System.Collections.Generic;
namespace Hncore.Pass.Sells.Domain
{
public partial class CouponResourceEntity : EntityWithDelete<int>, ITenant
{
public int TenantId { get; set; }
public int? StoreId { get; set; }
public int? CouponId { get; set; }
public int? ResourceId { get; set; }
public string ResourceImage { get; set; }
public string ResourceName { get; set; }
public int? ResourceType { get; set; }
public decimal? Price { get; set; }
}
}

View File

@@ -1,25 +1,25 @@
using Hncore.Infrastructure.DDD;
using System;
using System.Collections.Generic;
using static Hncore.Pass.Sells.Domain.Enums;
namespace Hncore.Pass.Sells.Domain
{
public partial class CouponUserOrginEntity : EntityWithDelete<int>, ITenant
{
public int TenantId { get; set; }
public int? StoreId { get; set; }
public string From { get; set; }
public int? ToUser { get; set; }
public string ToUserRef { get; set; }
public int? CouponId { get; set; }
public int? CouponCount { get; set; }
public CouponOriginType OriginType { get; set; } = CouponOriginType.Admin;
public string Remark { get; set; }
public DateTime? CreateDate { get; set; } = DateTime.Now;
public DateTime? StartTime { get; set; }
public DateTime? EndTime { get; set; }
public CouponStatus Status { get; set; } = CouponStatus.Origin;
}
}
using Hncore.Infrastructure.DDD;
using System;
using System.Collections.Generic;
using static Hncore.Pass.Sells.Domain.Enums;
namespace Hncore.Pass.Sells.Domain
{
public partial class CouponUserOrginEntity : EntityWithDelete<int>, ITenant
{
public int TenantId { get; set; }
public int? StoreId { get; set; }
public string From { get; set; }
public int? ToUser { get; set; }
public string ToUserRef { get; set; }
public int? CouponId { get; set; }
public int? CouponCount { get; set; }
public CouponOriginType OriginType { get; set; } = CouponOriginType.Admin;
public string Remark { get; set; }
public DateTime? CreateDate { get; set; } = DateTime.Now;
public DateTime? StartTime { get; set; }
public DateTime? EndTime { get; set; }
public CouponStatus Status { get; set; } = CouponStatus.Origin;
}
}

View File

@@ -1,22 +1,22 @@
using Hncore.Infrastructure.DDD;
using System;
using System.Collections.Generic;
namespace Hncore.Pass.Sells.Domain
{
public partial class CouponUserUseEntity : EntityWithDelete<int>, ITenant
{
public int TenantId { get; set; }
public int? StoreId { get; set; }
public int? UserId { get; set; }
public int? CouponId { get; set; }
public int? CouponCount { get; set; }
public string OrderNo { get; set; }
public decimal? Amount { get; set; }
public int? Remark { get; set; }
public int? Status { get; set; }
public DateTime? CreateDate { get; set; }
public int? OrderType { get; set; }
}
}
using Hncore.Infrastructure.DDD;
using System;
using System.Collections.Generic;
namespace Hncore.Pass.Sells.Domain
{
public partial class CouponUserUseEntity : EntityWithDelete<int>, ITenant
{
public int TenantId { get; set; }
public int? StoreId { get; set; }
public int? UserId { get; set; }
public int? CouponId { get; set; }
public int? CouponCount { get; set; }
public string OrderNo { get; set; }
public decimal? Amount { get; set; }
public int? Remark { get; set; }
public int? Status { get; set; }
public DateTime? CreateDate { get; set; }
public int? OrderType { get; set; }
}
}

View File

@@ -1,76 +1,76 @@
using System;
using Hncore.Infrastructure.EF;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace Hncore.Pass.Sells.Domain
{
public partial class CourseContext : DbContextBase
{
/// <summary>
/// 构造函数
/// </summary>
/// <param name="options">上下文实体</param>
/// <param name="httpContextAccessor">http请求上下文</param>
public CourseContext(DbContextOptions<CourseContext> options, IHttpContextAccessor httpContextAccessor) :
base(options, httpContextAccessor)
{
}
public virtual DbSet<CouponEntity> SellCoupon { get; set; }
public virtual DbSet<CouponResourceEntity> SellCouponResource { get; set; }
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)
{
modelBuilder.Entity<CouponEntity>(entity =>
{
entity.ToTable("sell_coupon");
entity.HasKey(p => p.Id);
entity.Property(e => e.Id).ValueGeneratedOnAdd();
});
modelBuilder.Entity<CouponResourceEntity>(entity =>
{
entity.ToTable("sell_coupon_resource");
entity.HasKey(p => p.Id);
entity.Property(e => e.Id).ValueGeneratedOnAdd();
});
modelBuilder.Entity<CouponUserOrginEntity>(entity =>
{
entity.ToTable("sell_coupon_user_orgin");
entity.HasKey(p => p.Id);
entity.Property(e => e.Id).ValueGeneratedOnAdd();
});
modelBuilder.Entity<CouponUserUseEntity>(entity =>
{
entity.ToTable("sell_coupon_user_use");
entity.HasKey(p => p.Id);
entity.Property(e => e.Id).ValueGeneratedOnAdd();
});
modelBuilder.Entity<TaoBaoOrderEntity>(entity =>
{
entity.ToTable("sell_taobao");
entity.HasKey(p => p.Id);
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);
}
}
}
using System;
using Hncore.Infrastructure.EF;
using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace Hncore.Pass.Sells.Domain
{
public partial class CourseContext : DbContextBase
{
/// <summary>
/// 构造函数
/// </summary>
/// <param name="options">上下文实体</param>
/// <param name="httpContextAccessor">http请求上下文</param>
public CourseContext(DbContextOptions<CourseContext> options, IHttpContextAccessor httpContextAccessor) :
base(options, httpContextAccessor)
{
}
public virtual DbSet<CouponEntity> SellCoupon { get; set; }
public virtual DbSet<CouponResourceEntity> SellCouponResource { get; set; }
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)
{
modelBuilder.Entity<CouponEntity>(entity =>
{
entity.ToTable("sell_coupon");
entity.HasKey(p => p.Id);
entity.Property(e => e.Id).ValueGeneratedOnAdd();
});
modelBuilder.Entity<CouponResourceEntity>(entity =>
{
entity.ToTable("sell_coupon_resource");
entity.HasKey(p => p.Id);
entity.Property(e => e.Id).ValueGeneratedOnAdd();
});
modelBuilder.Entity<CouponUserOrginEntity>(entity =>
{
entity.ToTable("sell_coupon_user_orgin");
entity.HasKey(p => p.Id);
entity.Property(e => e.Id).ValueGeneratedOnAdd();
});
modelBuilder.Entity<CouponUserUseEntity>(entity =>
{
entity.ToTable("sell_coupon_user_use");
entity.HasKey(p => p.Id);
entity.Property(e => e.Id).ValueGeneratedOnAdd();
});
modelBuilder.Entity<TaoBaoOrderEntity>(entity =>
{
entity.ToTable("sell_taobao");
entity.HasKey(p => p.Id);
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

@@ -1,38 +1,38 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
namespace Hncore.Pass.Sells.Domain
{
public class Enums
{
public enum CouponOriginType
{
[DisplayName("管理员赠送")]
Admin = 1,
[DisplayName("淘宝下单")]
TaoBao = 2,
[DisplayName("用户")]
User = 3,
[DisplayName("关注公众号")]
MP = 4,
[DisplayName("完善信息")]
UserInfo = 5,
}
public enum CouponStatus
{
[DisplayName("认领")]
Origin = 1,
[DisplayName("使用")]
Used = 2,
[DisplayName("冻结")]
Disabled = 3,
}
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
namespace Hncore.Pass.Sells.Domain
{
public class Enums
{
public enum CouponOriginType
{
[DisplayName("管理员赠送")]
Admin = 1,
[DisplayName("淘宝下单")]
TaoBao = 2,
[DisplayName("用户")]
User = 3,
[DisplayName("关注公众号")]
MP = 4,
[DisplayName("完善信息")]
UserInfo = 5,
}
public enum CouponStatus
{
[DisplayName("认领")]
Origin = 1,
[DisplayName("使用")]
Used = 2,
[DisplayName("冻结")]
Disabled = 3,
}
}
}

View File

@@ -1,34 +1,34 @@
using Hncore.Infrastructure.DDD;
using Hncore.Pass.Sells.Model;
using System;
using System.Collections.Generic;
namespace Hncore.Pass.Sells.Domain
{
public partial class TaoBaoOrderEntity
{
public int Id { get; set; }
public int? Num { get; set; }
public string Tid { get; set; }
public string Platform { get; set; }
public string PlatformUserId { get; set; }
public string ReceiverName { get; set; }
public string Phone { get; set; }
public string ReceiverAddress { get; set; }
public string BuyerArea { get; set; }
public string Status { get; set; }
public string SellerNick { get; set; }
public string BuyerNick { get; set; }
public string BuyerMessage { get; set; }
public decimal? Price { get; set; }
public decimal? TotalFee { get; set; }
public decimal? Payment { get; set; }
public DateTime? Created { get; set; }
public string TradeFrom { get; set; }
public string SellerMemo { get; set; }
public string SkuPropertiesName { get; set; }
public int? SellerFlag { get; set; }
public DateTime CreateDate { get; set; } = DateTime.Now;
}
}
using Hncore.Infrastructure.DDD;
using Hncore.Pass.Sells.Model;
using System;
using System.Collections.Generic;
namespace Hncore.Pass.Sells.Domain
{
public partial class TaoBaoOrderEntity
{
public int Id { get; set; }
public int? Num { get; set; }
public string Tid { get; set; }
public string Platform { get; set; }
public string PlatformUserId { get; set; }
public string ReceiverName { get; set; }
public string Phone { get; set; }
public string ReceiverAddress { get; set; }
public string BuyerArea { get; set; }
public string Status { get; set; }
public string SellerNick { get; set; }
public string BuyerNick { get; set; }
public string BuyerMessage { get; set; }
public decimal? Price { get; set; }
public decimal? TotalFee { get; set; }
public decimal? Payment { get; set; }
public DateTime? Created { get; set; }
public string TradeFrom { get; set; }
public string SellerMemo { get; set; }
public string SkuPropertiesName { get; set; }
public int? SellerFlag { get; set; }
public DateTime CreateDate { get; set; } = DateTime.Now;
}
}

View File

@@ -1,23 +1,23 @@
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; }
public int status { get; set; }
}
}
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; }
public int status { get; set; }
}
}