29 lines
952 B
C#
29 lines
952 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
using AyCode.Interfaces.Entities;
|
|
using AyCode.Interfaces.TimeStampInfo;
|
|
using TIAM.Core.Enums;
|
|
|
|
namespace TIAM.Entities.Drivers
|
|
{
|
|
public class Car : IEntityGuid//, ITimeStampInfo, ITimeStampDisableAutoSet
|
|
{
|
|
//[NotMapped]
|
|
public Guid Id { get; set; } = Guid.NewGuid();
|
|
|
|
public int CountryCode { get; set; } = 36;
|
|
|
|
public string LicencePlate { get; set; } = "JGH452";
|
|
public string Color { get; set; } = "Fehér";
|
|
public string Manufacture { get; set; } = "Ford";
|
|
public string CarModel { get; set; } = "Mondeo";
|
|
|
|
public int YearOfMake { get; set; } = 2021;
|
|
public int SeatNumber { get; set; } = 5;
|
|
|
|
public CarMotorType CarMotorType { get; set; } = CarMotorType.Diesel;
|
|
|
|
public DateTime Created { get; set; } = DateTime.UtcNow;
|
|
public DateTime Modified { get; set; } = DateTime.UtcNow;
|
|
}
|
|
}
|