using AyCode.Interfaces.Entities; using AyCode.Interfaces.TimeStampInfo; namespace TIAMWebApp.Shared.Application.Models { public class CarModel : IEntityGuid, ITimeStampInfo { public Guid Id { get; set; } public string Make { get; set; } public string Type { get; set; } public string Color { get; set; } public string Year { get; set; } public string LicensePlate { get; set; } public DateTime Created { get; set; } public DateTime Modified { get; set; } public CarModel() { } public CarModel(string make, string type, string color, string year, string licensePlate) : this(Guid.NewGuid(), make, type, color, year, licensePlate) { } public CarModel(Guid id, string make, string type, string color, string year, string licensePlate) { Id = id; Make = make; Type = type; Color = color; Year = year; LicensePlate = licensePlate; } } }