调整地区实体
This commit is contained in:
@@ -23,11 +23,11 @@ namespace Atomx.Data
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder builder)
|
||||
{
|
||||
base.OnModelCreating(builder);
|
||||
builder.Entity<Currency>(entity =>
|
||||
{
|
||||
entity.Property(e => e.Id).ValueGeneratedOnAdd();
|
||||
});
|
||||
//base.OnModelCreating(builder);
|
||||
//builder.Entity<Currency>(entity =>
|
||||
//{
|
||||
// entity.Property(e => e.Id).ValueGeneratedOnAdd();
|
||||
//});
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -46,7 +46,7 @@ namespace Atomx.Data
|
||||
public DbSet<AppVersion> AppVersions { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 国家省市地区
|
||||
/// 市区数据
|
||||
/// </summary>
|
||||
public DbSet<Area> Areas { get; set; }
|
||||
|
||||
@@ -60,6 +60,11 @@ namespace Atomx.Data
|
||||
/// </summary>
|
||||
public DbSet<Channel> Channels { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 国家数据
|
||||
/// </summary>
|
||||
public DbSet<Country> Countries { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 货币信息
|
||||
/// </summary>
|
||||
@@ -136,6 +141,11 @@ namespace Atomx.Data
|
||||
/// </summary>
|
||||
public DbSet<SpecificationAttributeOption> SpecificationAttributeOptions { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 州省份数据
|
||||
/// </summary>
|
||||
public DbSet<StateProvince> StateProvinces { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 刷新Tokens
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user