Merge branch 'master' of http://git2.aycode.com/Adam/TourIAm
This commit is contained in:
commit
7a68be09fa
|
|
@ -0,0 +1,36 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using AyCode.Interfaces.Entities;
|
||||||
|
using AyCode.Interfaces.TimeStampInfo;
|
||||||
|
|
||||||
|
namespace TIAM.Entities.Drivers
|
||||||
|
{
|
||||||
|
public enum CarMotorType : byte
|
||||||
|
{
|
||||||
|
Gas = 5,
|
||||||
|
Diesel = 10,
|
||||||
|
Electric = 15,
|
||||||
|
}
|
||||||
|
|
||||||
|
public class Car : IEntityGuid, ITimeStampModified
|
||||||
|
{
|
||||||
|
public Guid Id { get; set; }
|
||||||
|
|
||||||
|
public string LicencePlate { get; set; }
|
||||||
|
public string Color { get; set; }
|
||||||
|
public string Manufacture{ get; set; }
|
||||||
|
public string Model { get; set; }
|
||||||
|
|
||||||
|
public int YearOfMake { get; set; }
|
||||||
|
public int SeetNumber { get; set; }
|
||||||
|
|
||||||
|
public CarMotorType CarMotorType { get; set; }
|
||||||
|
|
||||||
|
public DateTime Modified { get; set; }
|
||||||
|
public DateTime Created { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using TIAM.Entities.Drivers;
|
||||||
|
|
||||||
|
namespace TIAM.Models.Drivers
|
||||||
|
{
|
||||||
|
public class DriverModel
|
||||||
|
{
|
||||||
|
public List<Car> Cars { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue