source: db_tsh/Models/Payment.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: 518 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Threading.Tasks;
5
6namespace db_tsh.Models
7{
8 public class Payment
9 {
10 public int PaymentNum { get; set; } // Auto-generated by DB
11 public int PolicyId { get; set; } // Foreign key to Policy table
12 public DateTime PDate { get; set; }
13 public int PAmount { get; set; }
14 public string VisaNumber { get; set; }
15
16 // Navigation property
17 public Policy Policy { get; set; }
18 }
19}
Note: See TracBrowser for help on using the repository browser.