using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;         // re: DatabaseGeneratedOption


namespace RestAPI2.Models
{
    public class Apartment
    {
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }
        public int Number { get; set; }
        public int Floor { get; set; }
        public int NumberRoom { get; set; }

        public int Population{get; set;}
        public float FullArea { get; set; }

        public string LivingSpace {get;set;}
        public int HouseNumber {get;set;}
    }
}