2024-09-07 08:36:46 +00:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
namespace Renis.Database.Models;
|
|
|
|
|
2024-09-07 08:44:30 +00:00
|
|
|
public class Car
|
2024-09-07 08:36:46 +00:00
|
|
|
{
|
|
|
|
[Key]
|
|
|
|
public long Id { get; set; }
|
|
|
|
[Required]
|
|
|
|
public string Number { get; set; } = null!;
|
|
|
|
[Required]
|
2024-09-07 09:18:30 +00:00
|
|
|
public Polis Polis { get; set; } = null!;
|
2024-09-07 08:36:46 +00:00
|
|
|
[Required]
|
2024-09-07 09:18:30 +00:00
|
|
|
public long PolisId { get; set; }
|
2024-09-07 08:36:46 +00:00
|
|
|
[Required]
|
2024-09-07 09:18:30 +00:00
|
|
|
public User Resp { get; set; } = null!;
|
2024-09-07 08:36:46 +00:00
|
|
|
[Required]
|
2024-09-07 09:18:30 +00:00
|
|
|
public long RespId { get; set; }
|
|
|
|
public bool Verified { get; set; }
|
2024-09-07 08:36:46 +00:00
|
|
|
}
|