55 lines
1.9 KiB
C#
55 lines
1.9 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace SoftwayWeb.Models
|
|
{
|
|
public class GiriConsegnaView
|
|
{
|
|
[Display(Name = "Seriale Giro")]
|
|
public string? SerialeGiro { get; set; }
|
|
|
|
[DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}")]
|
|
[Display(Name = "Data giro")]
|
|
public DateTime? DataGiro { get; set; }
|
|
|
|
[Display(Name = "Cod. Autista")]
|
|
public string? CodAutista { get; set; }
|
|
|
|
[Display(Name = "Autista")]
|
|
public string? Autista { get; set; }
|
|
|
|
[Display(Name = "Bancali caricati")]
|
|
public int? BancaliCaricati { get; set; }
|
|
|
|
|
|
[Display(Name = "Bancali recuperati"), Required(ErrorMessage = "Bancali recuperati obbligatori")]
|
|
public int? BancaliRecuperati { get; set; }
|
|
|
|
[Display(Name = "Importo da recuperare"), System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 5)")]
|
|
public decimal? ImportoDaRecuperare { get; set; }
|
|
|
|
[Display(Name = "Importo recuperato"),System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 5)"), Required(ErrorMessage = "Importo recuperato obbligatorio")]
|
|
public decimal? ImportoRecuperato { get; set; }
|
|
|
|
[DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}")]
|
|
[Display(Name = "Data chiusura")]
|
|
public DateTime? DataChiusura { get; set; }
|
|
|
|
public string? CodMezzo { get; set; }
|
|
public string? Automezzo { get; set; }
|
|
|
|
public int? parzialeBanRec { get; set; }
|
|
|
|
[System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(18, 5)")]
|
|
public decimal? parzialeImpRec { get; set; }
|
|
|
|
[Display(Name = "Note")]
|
|
public string? NoteChiusura { get; set; }
|
|
|
|
public int? DestinazioniFatte { get; set; }
|
|
public int? DestinazioniTutte { get; set; }
|
|
public int? DestinazioniModificate { get; set; }
|
|
|
|
|
|
}
|
|
}
|