29 lines
594 B
C#
29 lines
594 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace weddingapi.Models
|
|
{
|
|
public record Family
|
|
{
|
|
public Guid Id { get; init; }
|
|
|
|
public string Name { get; init; }
|
|
|
|
public string Email { get; init; }
|
|
|
|
public string Telephonenumber { get; init; }
|
|
|
|
public DateTimeOffset CreatedDate { get; set; }
|
|
|
|
public string CreatedByIp { get; set; }
|
|
|
|
public IList<Person> Members { get; init; }
|
|
|
|
public bool Overnight { get; init; }
|
|
|
|
public Family()
|
|
{
|
|
this.Members = new List<Person>();
|
|
}
|
|
}
|
|
} |