using System.ComponentModel.DataAnnotations; namespace Renis.Database.Models; public class Car { [Key] public long Id { get; set; } [Required] public string Number { get; set; } = null!; [Required] Polis Polis { get; set; } = null!; [Required] long PolisId { get; set; } [Required] User Resp { get; set; } = null!; [Required] long RespId { get; set; } }