using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SqlSugar; using Yi.Framework.Infrastructure.Ddd.Entities; namespace Yi.Framework.Module.WebFirstManager.Entities { [SugarTable("Table")] public class TableEntity : IEntity { [SugarColumn(IsPrimaryKey = true)] public long Id { get; set; } /// /// 表名 /// public string Name { get; set; } /// /// 备注 /// public string? Description { get; set; } /// /// 一表多字段 /// [Navigate(NavigateType.OneToMany, nameof(FieldEntity.TableId))] public List Fields { get; set; } } }