sodoff/src/Model/Group.cs
Hipposgrumm 890b62c10a Made changes to the repository.
Pushing them to see if I did a good job.
2025-10-18 22:19:58 -06:00

36 lines
783 B
C#

using sodoff.Schema;
using System.ComponentModel.DataAnnotations;
namespace sodoff.Model;
public class Group {
[Key]
public int Id { get; set; }
public Guid GroupID { get; set; }
public string? Name { get; set; }
public string? Description { get; set; }
public GroupType Type { get; set; }
public string? Logo { get; set; }
public string? Color { get; set; }
public int Points { get; set; }
public DateTime CreateDate { get; set; }
public DateTime? LastActiveTime { get; set; }
public uint GameID { get; set; }
public int MaxMemberLimit { get; set; }
public virtual ICollection<GroupMember> Vikings { get; set; } = null!;
public virtual ICollection<GroupJoinRequest> JoinRequests { get; set; } = null!;
}