agregado procesos y bd clases
This commit is contained in:
21
bdAsegasa/Extensiones/vf_siniestrosextendidos.cs
Normal file
21
bdAsegasa/Extensiones/vf_siniestrosextendidos.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace bdAsegasa.db
|
||||
{
|
||||
public partial class vf_siniestrosextendidos
|
||||
{
|
||||
public long NumeroGestionesNN => this.NumeroGestiones ?? 1;
|
||||
|
||||
public bool Abierto => !this.FechaCierre.HasValue;
|
||||
|
||||
public string AñoMes
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.FechaAccidente.HasValue)
|
||||
{
|
||||
return $"{this.FechaAccidente.Value.Year}-{this.FechaAccidente.Value.Month:D2}";
|
||||
}
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user