source: db_tsh/Models/Property.cs

main
Last change on this file was 705d6f5, checked in by ardit <ardit@…>, 2 days ago

Commiting all files of project - 20250224

  • Property mode set to 100644
File size: 592 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Threading.Tasks;
5
6namespace db_tsh.Models
7{
8 public class Property
9 {
10 public int P_id { get; set; } // Primary Key
11
12 public int Policy { get; set; } // Foreign Key referencing project.Pol_auto(a_id)
13
14 public string Address { get; set; }
15 public string Floor { get; set; }
16 public int YearBuild { get; set; }
17 public string Security { get; set; }
18
19 // Navigation property for the related policy
20 public Pol_auto PolicyObject { get; set; }
21 }
22}
Note: See TracBrowser for help on using the repository browser.