Booking

Applies to uBooking 1.1 a newer

  • Namespace: uBooking.Core.Models
  • Assembly: uBooking.Core.dll
public class Booking : IBooking
{
    public int Id { get; set; }

    public DateTime CreatedDate { get; set; }

    public int ResourceId { get; set; }

    public DateTime ArrivalDate { get; set; }

    public DateTime LeavingDate { get; set; }

    public string Notes { get; set; }

    public int? PaymentStatusId { get; set; }

    public bool Approved { get; set; }

    public double TotalCost { get; set; }

    public double Payed { get; set; }

    public bool Active { get; set; }

    public List<QuestionAnswer> QuestionAnswers { get; set; }

    public IResource Resource { get; set; }

    public IPaymentStatus PaymentStatus { get; set; }
}