sodoff/src/Model/Party.cs
Robert Paciorek a9151c42c5 rework WoJS Party
- fix SQL issue on removing expired parties
- use item data for party creation
2024-04-09 11:30:01 +00:00

19 lines
601 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace sodoff.Model
{
public class Party
{
[Key]
public int Id { get; set; }
public string Location { get; set; } = null!;
public int VikingId { get; set; }
public DateTime ExpirationDate { get; set; } = DateTime.UtcNow;
public bool? PrivateParty { get; set; }
public string LocationIconAsset { get; set; } = null!;
public string AssetBundle { get; set; } = null!;
public virtual Viking? Viking { get; set; }
}
}