极客正式套餐开通tx

This commit is contained in:
“wanyongkang”
2024-04-17 15:04:57 +08:00
parent 9836808b83
commit 0f2b2e803d
5 changed files with 61 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
using Hncore.Infrastructure.DDD;
using System;
using System.Collections.Generic;
namespace Hncore.Pass.Vpn.Domain
{
public partial class AgreementEntity
{
public int id { get; set; }
public int user_id { get; set; }
public int status { get; set; }
public string username { get; set; }
}
}

View File

@@ -148,6 +148,15 @@ namespace Hncore.Pass.Vpn.Domain
entity.HasKey(p => p.id);
entity.Property(e => e.id).ValueGeneratedOnAdd();
});
//上传tx认证
modelBuilder.Entity<AgreementEntity>(entity =>
{
entity.ToTable("use_agreement");
entity.HasKey(p => p.id);
entity.Property(e => e.id).ValueGeneratedOnAdd();
});
base.OnModelCreating(modelBuilder);
}
}