using FreeSql.DataAnnotations; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Volo.Abp.Domain.Entities.Auditing; using Volo.Abp.Guids; namespace JiShe.IoT.Domain.Shared { /// /// jishe基础实体 /// public class BasicEntiy : FullAuditedAggregateRoot, IBasicEntiy, IMultiTenant { /// /// 租户Id /// [Comment("租户ID")] public Guid? TenantId { get; set; } /// /// 备注 /// [Comment("备注")] public string Remark { get; set; } /// /// 旧系统授权创建者Id /// [Comment("旧系统授权创建者Id")] public int? OSACreatorId { get; set; } /// /// 旧系统授权最后修改者Id /// [Comment("旧系统授权最后修改者Id")] public int? OSALastModifierId { get; set; } /// /// 旧系统授权最后删除者Id /// [Comment("旧系统授权最后删除者Id")] public int? OSADeleterId { get; set; } /// /// 扩展属性,用于存储自定义字段,JSON格式 /// [Comment("扩展属性,用于存储自定义字段,JSON格式")] [JsonMap] public new ExtraPropertyDictionary ExtraProperties { get; set; } = new ExtraPropertyDictionary(); public void CreateId(TKey Id) { base.Id = Id; } } }