feat: 完成code to web模块

This commit is contained in:
橙子
2023-09-24 00:42:09 +08:00
parent 58bf5062bf
commit 349a041d71
14 changed files with 187 additions and 43 deletions

View File

@@ -5,14 +5,15 @@ using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using Yi.Framework.Infrastructure.Ddd.Entities;
using Yi.Framework.Infrastructure.Helper;
namespace Yi.Framework.Module.WebFirstManager.Entities
{
[SugarTable("Table")]
public class TableEntity : IEntity<long>
public class TableAggregateRoot : IAggregateRoot<long>
{
[SugarColumn(IsPrimaryKey = true)]
public long Id { get; set; }
public long Id { get; set; } = SnowflakeHelper.NextId;
/// <summary>
/// 表名
/// </summary>