17 lines
484 B
C#
17 lines
484 B
C#
// Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License.
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Server.DB.Documents;
|
|
|
|
public class Guild
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public Guid Id { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
public string Notice { get; set; }
|
|
public virtual ICollection<GuildMember> GuildMembers { get; set; }
|
|
}
|