using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SqlSugar; using Volo.Abp.Auditing; using Volo.Abp.Domain.Entities; namespace Yi.Framework.Rbac.Domain.Entities { public class FileAggregateRoot : AggregateRoot, IAuditedObject { public FileAggregateRoot() { } public FileAggregateRoot(Guid fileId) { this.Id = fileId; } [SugarColumn(IsPrimaryKey = true)] public override Guid Id { get; protected set; } /// /// 文件大小 /// [SugarColumn(ColumnName = "FileSize")] public decimal FileSize { get; set; } /// /// 文件名 /// [SugarColumn(ColumnName = "FileName")] public string FileName { get; set; } /// /// 文件路径 /// [SugarColumn(ColumnName = "FilePath")] public string FilePath { get; set; } public DateTime CreationTime { get; set; } public Guid? CreatorId { get; set; } public Guid? LastModifierId { get; set; } public DateTime? LastModificationTime { get; set; } } }