24 lines
634 B
C#
24 lines
634 B
C#
using PARR.DAL.Models.Base;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace PARR.DAL.Models.V1
|
|
{
|
|
[Table("V1_ApplicationsInHost")]
|
|
public class V1_ApplicationInHost : IBase
|
|
{
|
|
public Guid Id { get; set; }
|
|
public DateTimeOffset DateCreated { get; set; }
|
|
public DateTimeOffset? DateModified { get; set; }
|
|
|
|
public Guid ApplicationId { get; set; }
|
|
|
|
[ForeignKey(nameof(ApplicationId))]
|
|
public Application? Application { get; set; }
|
|
|
|
public Guid HostId { get; set; }
|
|
|
|
[ForeignKey(nameof(HostId))]
|
|
public V1_Host? Host { get; set; }
|
|
}
|
|
}
|