2026-02-24 20:44:16 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
2026-02-25 08:35:13 +00:00
|
|
|
|
using Volo.Abp.MultiTenancy;
|
2026-02-24 20:44:16 +00:00
|
|
|
|
|
|
|
|
|
|
namespace Sozsoft.Platform.Entities;
|
|
|
|
|
|
|
2026-02-25 08:35:13 +00:00
|
|
|
|
public class Route : FullAuditedEntity<Guid>, IMultiTenant
|
2026-02-24 20:44:16 +00:00
|
|
|
|
{
|
2026-02-25 08:35:13 +00:00
|
|
|
|
public Guid? TenantId { get; set; }
|
|
|
|
|
|
|
2026-02-24 20:44:16 +00:00
|
|
|
|
public string Key { get; set; }
|
|
|
|
|
|
public string Path { get; set; }
|
|
|
|
|
|
public string ComponentPath { get; set; }
|
|
|
|
|
|
public string RouteType { get; set; }
|
|
|
|
|
|
public string[] Authority { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public Route(string key, string path, string componentPath, string routeType, string[] authority)
|
|
|
|
|
|
{
|
|
|
|
|
|
Key = key;
|
|
|
|
|
|
Path = path;
|
|
|
|
|
|
ComponentPath = componentPath;
|
|
|
|
|
|
RouteType = routeType;
|
|
|
|
|
|
Authority = authority;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|