34 lines
1.1 KiB
C#
34 lines
1.1 KiB
C#
using System.Diagnostics.CodeAnalysis;
|
|
using Realms;
|
|
|
|
namespace AutoCatCore.Model
|
|
{
|
|
[SuppressMessage("ReSharper", "UnassignedGetOnlyAutoProperty")]
|
|
public class Vehicle: RealmObject
|
|
{
|
|
[PrimaryKey]
|
|
public string Number { get; set; } = "";
|
|
public string? CurrentNumber { get; set; }
|
|
public string? Vin1 { get; set; }
|
|
public string? Vin2 { get; set; }
|
|
public string? Sts { get; set; }
|
|
public string? Pts { get; set; }
|
|
public VehicleBrand? Brand { get; set; }
|
|
public VehicleModel? Model { get; set; }
|
|
public string? Color { get; set; }
|
|
public int? Year { get; set; }
|
|
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; }
|
|
public string? AddedBy { get; set; }
|
|
public VehicleEngine? Engine { get; set; }
|
|
public IList<VehiclePhoto>? Photos { get; }
|
|
public IList<VehicleEvent>? Events { get; }
|
|
public IList<Osago>? OsagoContracts { get; }
|
|
public IList<VehicleOwnershipPeriod>? OwnershipPeriods { get; }
|
|
public IList<VehicleAd>? Ads { get; }
|
|
}
|
|
}
|