2023-11-15 19:00:08 +00:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
2023-11-14 19:07:45 +00:00
|
|
|
namespace Server.DB.Documents;
|
|
|
|
|
|
|
|
public class Guild
|
|
|
|
{
|
2023-11-15 19:00:08 +00:00
|
|
|
[Key]
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
2023-11-14 19:07:45 +00:00
|
|
|
public Guid Id { get; set; }
|
2023-11-15 19:00:08 +00:00
|
|
|
|
2023-11-14 19:07:45 +00:00
|
|
|
public string Name { get; set; }
|
|
|
|
public string Notice { get; set; }
|
2023-11-15 19:00:08 +00:00
|
|
|
public virtual ICollection<GuildMember> GuildMembers { get; set; }
|
2023-11-14 19:07:45 +00:00
|
|
|
}
|