namespace CAPI.Custom.Entities { // All classes mapped from a table should implement IEntity public interface IEntity { int recId { get; set; } } // All classes mapped to Surface generated tables should implement ISurfaceItem public interface ISurfaceEntity : IEntity { int itemID { get; set; } bool? isActive { get; set; } int surfaceId { get; set; } } public interface ISurfaceChildEntity : ISurfaceEntity { int? ParentSurfaceItemId { get; set; } } public interface ISurfaceQueryEntity : ISurfaceEntity { } public interface ISurfaceQueryChildEntity : ISurfaceQueryEntity { string ParentSurfaceItemId { get; set; } } public interface ISurfacePublishedEntity : ISurfaceEntity { } public interface IViewEntity { } }