This commit is contained in:
commit
0e79a8eb5e
43 changed files with 1282 additions and 0 deletions
34
src/Infra/Job.cs
Executable file
34
src/Infra/Job.cs
Executable file
|
|
@ -0,0 +1,34 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace TestWeb.Infra;
|
||||
|
||||
public class Job
|
||||
{
|
||||
[Key]
|
||||
public int Id
|
||||
{
|
||||
get; init;
|
||||
}
|
||||
public required string ClientName
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public required string Pickup
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public string? Dropoff
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public int VehicleId
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public DateTime DateCreated { get; private init; } = DateTime.UtcNow;
|
||||
public DateTime? LastUpdated
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue