renis-backend/Database/Models/Cars.cs
Nikolai Papin 6880715087 Db models
2024-09-07 11:36:46 +03:00

19 lines
404 B
C#

using System.ComponentModel.DataAnnotations;
namespace Renis.Database.Models;
public class Cars
{
[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; }
}