using SqlSugar; using Volo.Abp.Domain.Entities; namespace Yi.Framework.CodeGun.Domain.Entities { [SugarTable("YiTable")] public class TableAggregateRoot : AggregateRoot { [SugarColumn(ColumnName = "Id", IsPrimaryKey = true)] public override Guid Id { get; protected set; } /// /// 表名 /// public string Name { get; set; } /// /// 备注 /// public string? Description { get; set; } /// /// 一表多字段 /// [Navigate(NavigateType.OneToMany, nameof(FieldEntity.TableId))] public List Fields { get; set; } } }