using System.ComponentModel.DataAnnotations; namespace AutoCatCore.Model { public class Vehicle(string number) { [Key] [MaxLength(10)] public string Number { get; set; } = number; [MaxLength(10)] public string? CurrentNumber { get; set; } [MaxLength(50)] public string? Vin1 { get; set; } [MaxLength(50)] public string? Vin2 { get; set; } [MaxLength(50)] public string? Sts { get; set; } [MaxLength(50)] public string? Pts { get; set; } public VehicleBrand? Brand { get; set; } public VehicleModel? Model { get; set; } [MaxLength(100)] public string? Color { get; set; } public int? Year { get; set; } [MaxLength(100)] public string? Category { get; set; } public bool? IsRightWheel { get; set; } public bool? IsJapanese { get; set; } public double? AddedDate { get; set; } public double? UpdatedDate { get; set; } [MaxLength(100)] public string? AddedBy { get; set; } public VehicleEngine? Engine { get; set; } public List? Photos { get; set; } public List? Events { get; set; } public List? OsagoContracts { get; set; } public List? OwnershipPeriods { get; set; } public List? Ads { get; set; } } }