Files
ophelias-oasis/OpheliasOasis/Models/Guest.cs
雲華 c1526a123f Updated and added various models
This commit includes functionality for many of the models that the
program will use. The transaction model, rate, and room model have been
implemented, but still need further review to determine if they are
finished. The same applies to guest and reservation. Currently all
models include a simple list class, the decision to use a database or
a serialized object (JSON, array, list, etc). These lists are currently
a placeholder and are not guaranteed to land in main.
2022-04-08 15:23:48 -04:00

44 lines
963 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ophelias.Models
{
internal class Guest
{
internal int Id;
internal string FirstName;
internal string LastName;
internal string Email;
internal string? CreditCard;
internal Guest(int id, string fname, string lname, string email)
{
Id = id;
FirstName = fname;
LastName = lname;
Email = email;
}
internal Guest(int id, string fname, string lname, string email, string cc)
{
Id = id;
FirstName = fname;
LastName = lname;
Email = email;
CreditCard = cc;
}
}
internal class GuestList
{
internal List<Guest> Guests;
internal GuestList()
{
Guests = new List<Guest>();
}
}
}