20 lines
749 B
C#
20 lines
749 B
C#
namespace YarpGateway.Models;
|
|
|
|
public class GwTenantRoute
|
|
{
|
|
public long Id { get; set; }
|
|
public string TenantCode { get; set; } = string.Empty;
|
|
public string ServiceName { get; set; } = string.Empty;
|
|
public string ClusterId { get; set; } = string.Empty;
|
|
public string PathPattern { get; set; } = string.Empty;
|
|
public int Priority { get; set; } = 0;
|
|
public int Status { get; set; } = 1;
|
|
public bool IsGlobal { get; set; } = false;
|
|
public long? CreatedBy { get; set; }
|
|
public DateTime CreatedTime { get; set; } = DateTime.UtcNow;
|
|
public long? UpdatedBy { get; set; }
|
|
public DateTime? UpdatedTime { get; set; }
|
|
public bool IsDeleted { get; set; } = false;
|
|
public int Version { get; set; } = 0;
|
|
}
|