| | |
| | | using Furion.FriendlyException; |
| | | using Furion.DatabaseAccessor; |
| | | using Furion.FriendlyException; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | |
| | | /// <summary> |
| | | /// 资源 |
| | | /// </summary> |
| | | public class Resource : CommonEntity, IDbAuditLogIgnore, IPhysicalDeletion |
| | | public class Resource : CommonEntity<MasterDbContextLocator, SyncTargetDbContextLocator>, IDbAuditLogIgnore, IPhysicalDeletion |
| | | { |
| | | /// <summary> |
| | | /// 应用名称 |
| | |
| | | public string DynamicAssemblyName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 服务 |
| | | /// </summary> |
| | | public EnumResourceService Service { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 服务名称 |
| | | /// </summary> |
| | | public string ServiceName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 控制器 |
| | | /// 控制器名称 |
| | | /// </summary> |
| | | public EnumResourceController Controller { get; set; } |
| | | public string ControllerName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 控制器摘要 |
| | |
| | | public EnumResourceMethod Method { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 文件上传 |
| | | /// </summary> |
| | | public bool FileUpload { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 是否来自表单 |
| | | /// </summary> |
| | | public bool IsFromForm { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 路由区域 |
| | | /// </summary> |
| | | public string RouteArea { get; set; } |