Gestiti salvataggi rest
This commit is contained in:
@@ -7,10 +7,12 @@ public class Ispezione : EntityBase<Ispezione>
|
||||
{
|
||||
[Required]
|
||||
public string CodMdep { get; set; } = string.Empty;
|
||||
public DateOnly Data { get; set; }
|
||||
public DateTime Data { get; set; }
|
||||
[Required]
|
||||
public string Rilevatore { get; set; } = string.Empty;
|
||||
|
||||
public string? ActivityId { get; set; }
|
||||
|
||||
public StatusEnum Stato { get; set; } = StatusEnum.InCorso;
|
||||
|
||||
public List<Scheda> Schede { get; set; } = [];
|
||||
|
||||
@@ -8,11 +8,12 @@ public class Scheda : EntityBase<Scheda>
|
||||
{
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
public string? ActivityId { get; set; }
|
||||
public string? CodJfas { get; set; }
|
||||
|
||||
[Required]
|
||||
public string CodMdep { get; set; } = string.Empty;
|
||||
public DateOnly Data { get; set; }
|
||||
public DateTime Data { get; set; }
|
||||
[Required]
|
||||
public string Rilevatore { get; set; } = string.Empty;
|
||||
public Ispezione? Ispezione { get; set; }
|
||||
@@ -24,7 +25,7 @@ public class Scheda : EntityBase<Scheda>
|
||||
public string? ActivityTypeId { get; set; }
|
||||
public string? Note { get; set; }
|
||||
public string? Responsabile { get; set; }
|
||||
public int Scadenza { get; set; } = 1460;
|
||||
public int Scadenza { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public JtbFasiDto? Reparto
|
||||
|
||||
Reference in New Issue
Block a user