using FreeSql.DataAnnotations; namespace Admin.Core.Model { /// /// 实体版本 /// public class EntityVersion : Entity, IEntityVersion { /// /// 版本 /// [Column(Position = -1, IsVersion = true)] public long Version { get; set; } } public class EntityVersion : EntityVersion { } }