main
Last change
on this file since 705d6f5 was 705d6f5, checked in by ardit <ardit@…>, 2 days ago |
Commiting all files of project - 20250224
|
-
Property mode
set to
100644
|
File size:
619 bytes
|
Rev | Line | |
---|
[705d6f5] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Linq;
|
---|
| 4 | using System.Threading.Tasks;
|
---|
| 5 |
|
---|
| 6 | namespace db_tsh.Models
|
---|
| 7 | {
|
---|
| 8 | public class Vehicle
|
---|
| 9 | {
|
---|
| 10 | public int V_id { get; set; } // Primary Key
|
---|
| 11 |
|
---|
| 12 | public int Policy { get; set; } // Foreign Key referencing project.Pol_auto(a_id)
|
---|
| 13 |
|
---|
| 14 | public string Type { get; set; } // Not null
|
---|
| 15 |
|
---|
| 16 | public string Marka { get; set; }
|
---|
| 17 |
|
---|
| 18 | public string Model { get; set; }
|
---|
| 19 |
|
---|
| 20 | public string License_Plate { get; set; } // Not null
|
---|
| 21 |
|
---|
| 22 | // Navigation property for the related policy
|
---|
| 23 | public Pol_auto PolicyObject { get; set; }
|
---|
| 24 | }
|
---|
| 25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.