continuity/Server/DB/Documents/Guild.cs

16 lines
402 B
C#
Raw Normal View History

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; }
}