18 lines
470 B
C#
18 lines
470 B
C#
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
|
using System.Text.Json.Serialization;
|
|||
|
|
|
|||
|
|
namespace LANCommander.Data.Models
|
|||
|
|
{
|
|||
|
|
public class ServerHttpPath : BaseModel
|
|||
|
|
{
|
|||
|
|
public string LocalPath { get; set; }
|
|||
|
|
public string Path { get; set; }
|
|||
|
|
|
|||
|
|
public Guid ServerId { get; set; }
|
|||
|
|
[JsonIgnore]
|
|||
|
|
[ForeignKey(nameof(ServerId))]
|
|||
|
|
[InverseProperty("HttpPaths")]
|
|||
|
|
public virtual Server Server { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|