Registration.cs 348 B

123456789101112131415
  1. using LiteDB;
  2. using RunnersMeet.Server.Domain;
  3. namespace RunnersMeet.Server.Persistence;
  4. public class Registration : IUserData
  5. {
  6. [BsonRef("users")]
  7. public UserProfile Owner { get; set; } = new UserProfile();
  8. [BsonRef("events")]
  9. public Event Event { get; set; } = new Event();
  10. public RegistrationState Status { get; set; }
  11. }