renis-backend/Database/Models/Car.cs
2024-09-07 11:44:30 +03:00

19 lines
403 B
C#

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; }
}