Add IDeleteable to Site
This commit is contained in:
@ -1,10 +1,12 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Oqtane.Models
|
||||
{
|
||||
public class Site : IAuditable
|
||||
public class Site : IAuditable, IDeletable
|
||||
{
|
||||
public int SiteId { get; set; }
|
||||
[StringLength(20, ErrorMessage = "Length must be more than 5 and less than 20 characters", MinimumLength = 5)]
|
||||
public string Name { get; set; }
|
||||
public string Logo { get; set; }
|
||||
public string DefaultThemeType { get; set; }
|
||||
@ -15,5 +17,8 @@ namespace Oqtane.Models
|
||||
public DateTime CreatedOn { get; set; }
|
||||
public string ModifiedBy { get; set; }
|
||||
public DateTime ModifiedOn { get; set; }
|
||||
public string DeletedBy { get; set; }
|
||||
public DateTime? DeletedOn { get; set; }
|
||||
public bool IsDeleted { get; set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user