oqtane.framework/Oqtane.Shared/Models/Folder.cs
2020-04-04 14:06:24 -04:00

32 lines
960 B
C#

using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Oqtane.Models
{
public class Folder : IAuditable
{
public int FolderId { get; set; }
public int SiteId { get; set; }
public int? ParentId { get; set; }
public string Name { get; set; }
public string Path { get; set; }
public int Order { get; set; }
public bool IsSystem { get; set; }
public string CreatedBy { get; set; }
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; }
[NotMapped]
public string Permissions { get; set; }
[NotMapped]
public int Level { get; set; }
[NotMapped]
public bool HasChildren { get; set; }
}
}