-
-
Notifications
You must be signed in to change notification settings - Fork 243
Expand file tree
/
Copy pathClients.cs
More file actions
27 lines (22 loc) · 636 Bytes
/
Clients.cs
File metadata and controls
27 lines (22 loc) · 636 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using System;
using System.Collections.Generic;
namespace CodeFirst.DataAccess.Models;
public class Clients
{
public int ClientId { get; set; }
public string Firstname { get; set; }
public string Lastname { get; set; }
public DateTime? Birthday { get; set; }
// navigational properties
public virtual ICollection<Rentals> Rentals { get; set; }
public Clients()
{
}
public Clients(int clientId, string firstname, string lastname, DateTime? birthday)
{
ClientId = clientId;
Firstname = firstname;
Lastname = lastname;
Birthday = birthday;
}
}