using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace FJPSite.Interfaces; public interface ISoftDeleteEntity { [Required, DefaultValue(true)] public bool IsActive { get; set; } }