2023-11-04 19:43:38 -05:00
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
2024-08-04 18:44:33 -05:00
|
|
|
|
namespace LANCommander.Server.Data.Models
|
2023-11-04 19:43:38 -05:00
|
|
|
|
{
|
|
|
|
|
|
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; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|