using System.ComponentModel.DataAnnotations; namespace AutoCatCore.Model { public class Osago { public int Id { get; set; } [MaxLength(50)] public string? Number { get; set; } public double? Date { get; set; } [MaxLength(50)] public string? Vin { get; set; } [MaxLength(50)] public string? PlateNumber { get; set; } [MaxLength(100)] public string? Name { get; set; } [MaxLength(100)] public string? Status { get; set; } [MaxLength(500)] public string? Restrictions { get; set; } [MaxLength(100)] public string? Insurant { get; set; } [MaxLength(100)] public string? Owner { get; set; } [MaxLength(100)] public string? UsageRegion { get; set; } } }