using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Marco.Pms.Model.Utilities;
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;

namespace Marco.Pms.Model.Projects
{
    public class Floor : TenantRelation
    {
        public Guid Id { get; set; }

        [Required]
        [DisplayName("Floor Name")]
        public string? FloorName { get; set; }


        public Guid BuildingId { get; set; }

        [ForeignKey("BuildingId")]
        [ValidateNever]
        public Building? Building { get; set; }
    }
}
