using System;
using System.Collections.Generic;

namespace Agency
{
    public partial class Treaty
    {
        public int IdTreaty { get; set; }
        public int PropertyId { get; set; }
        public int? RentalPeriod { get; set; }
        public DateTime? DateOfConclusion { get; set; }
        public decimal Cost { get; set; }
        public int PersonsInTreaty { get; set; }

        public virtual ListPerson PersonsInTreatyNavigation { get; set; } = null!;
        public virtual TheProperty Property { get; set; } = null!;
    }
}
