using System.ComponentModel.DataAnnotations; namespace AutoCatCore.Model { public class VehicleOwnershipPeriod { public int Id { get; set; } [MaxLength(500)] public string? LastOperation { get; set; } [MaxLength(100)] public string? OwnerType { get; set; } public long? From { get; set; } public long? To { get; set; } [MaxLength(300)] public string? Region { get; set; } [MaxLength(300)] public string? RegistrationRegion { get; set; } [MaxLength(100)] public string? Locality { get; set; } [MaxLength(100)] public string? Code { get; set; } [MaxLength(100)] public string? Street { get; set; } [MaxLength(100)] public string? Building { get; set; } [MaxLength(100)] public string? Inn { get; set; } } }