19 lines
683 B
C#
19 lines
683 B
C#
namespace YarpGateway.Models;
|
|
|
|
public class GwServiceInstance
|
|
{
|
|
public long Id { get; set; }
|
|
public string ClusterId { get; set; } = string.Empty;
|
|
public string DestinationId { get; set; } = string.Empty;
|
|
public string Address { get; set; } = string.Empty;
|
|
public int Health { get; set; } = 1;
|
|
public int Weight { get; set; } = 1;
|
|
public int Status { get; set; } = 1;
|
|
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;
|
|
}
|