continuity/Server/DB/Documents/Guild.cs

18 lines
487 B
C#
Raw Normal View History

2023-11-20 18:58:30 +00:00
// // 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; }
}