using System.ComponentModel.DataAnnotations; namespace AutoCatCore.Model { public class VehicleEvent(string id) { [MaxLength(50)] public string Id { get; set; } = id; public double? Date { get; set; } public double? Latitude { get; set; } public double? Longitude { get; set; } [MaxLength(100)] public string? Address { get; set; } } }