1234567891011121314151617181920 |
- using FreeSql.DataAnnotations;
- namespace Admin.Core.Model
- {
-
-
-
- public class EntitySoftDelete<TKey> : Entity<TKey>,IEntitySoftDelete
- {
-
-
-
- [Column(Position = -1)]
- public bool IsDeleted { get; set; } = false;
- }
- public class EntitySoftDelete : EntitySoftDelete<long>
- {
- }
- }
|