Initial Commit
This commit is contained in:
15
OtaFleet.Api/Data/Entities/VehicleGroup.cs
Normal file
15
OtaFleet.Api/Data/Entities/VehicleGroup.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace OtaFleet.Api.Data.Entities;
|
||||
|
||||
public class VehicleGroup
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
public string? Description { get; set; }
|
||||
|
||||
public List<Vehicle> Vehicles { get; set; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user