27 lines
715 B
C#
27 lines
715 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Microsoft.SelfService.Portal.Core.API.Models
|
|
{
|
|
public class DeploymentTargetAssignmentModel : BaseModel
|
|
{
|
|
[Column(Order = 1)]
|
|
public Guid DeploymentGroupId { get; set; }
|
|
|
|
[Column(Order = 2)]
|
|
public Guid TargetId { get; set; }
|
|
|
|
[Column(Order = 3)]
|
|
public string RoleKey { get; set; } = "Node";
|
|
|
|
[Column(Order = 4)]
|
|
public int SortOrder { get; set; }
|
|
|
|
[Column(Order = 5)]
|
|
public string NodeDataJson { get; set; } = "{}";
|
|
|
|
public DeploymentGroupModel DeploymentGroup { get; set; } = null!;
|
|
public TargetModel Target { get; set; } = null!;
|
|
}
|
|
}
|
|
|