using System;
using FreeSql.DataAnnotations;
using System.ComponentModel.DataAnnotations;
namespace Admin.Core.Model.Admin
{
///
/// 视图管理
///
[Table(Name = "ad_view")]
[Index("uk_view_path", "Path", true)]
public class ViewEntity : EntityBase
{
///
/// 所属节点
///
public long? ParentId { get; set; }
///
/// 视图命名
///
[MaxLength(50)]
public string Name { get; set; }
///
/// 视图名称
///
[MaxLength(500)]
public string Label { get; set; }
///
/// 视图路径
///
[MaxLength(500)]
public string Path { get; set; }
///
/// 说明
///
[MaxLength(500)]
public string Description { get; set; }
///
/// 启用
///
public bool Enabled { get; set; } = true;
///
/// 排序
///
public int Sort { get; set; }
}
}