agregado procesos y bd clases
This commit is contained in:
57
bdAsegasa/Extensiones/modificacionespolizasagrario.cs
Normal file
57
bdAsegasa/Extensiones/modificacionespolizasagrario.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
using System;
|
||||
|
||||
namespace bdAsegasa.db
|
||||
{
|
||||
public partial class modificacionespolizasagrario
|
||||
{
|
||||
public double PorIncAge
|
||||
{
|
||||
get
|
||||
{
|
||||
return (this.previstasIncentivoAgente.GetValueOrDefault() / this.primaComercialNeta.GetValueOrDefault()) * 100;
|
||||
}
|
||||
}
|
||||
public double PorComAge
|
||||
{
|
||||
get
|
||||
{
|
||||
return (this.previstasComisionAgente.GetValueOrDefault() / this.primaComercialNeta.GetValueOrDefault()) * 100;
|
||||
}
|
||||
}
|
||||
public double PorIncAse
|
||||
{
|
||||
get
|
||||
{
|
||||
return (this.previstasIncentivoAsegasa.GetValueOrDefault() / this.primaComercialNeta.GetValueOrDefault()) * 100;
|
||||
}
|
||||
}
|
||||
public double PorComAse
|
||||
{
|
||||
get
|
||||
{
|
||||
return (this.previstasComisionAsegasa.GetValueOrDefault() / this.primaComercialNeta.GetValueOrDefault()) * 100;
|
||||
}
|
||||
}
|
||||
public double PorNifNue
|
||||
{
|
||||
get
|
||||
{
|
||||
return (this.previstasNIFNuevo.GetValueOrDefault() / this.primaComercialNeta.GetValueOrDefault()) * 100;
|
||||
}
|
||||
}
|
||||
public double PorTomPro
|
||||
{
|
||||
get
|
||||
{
|
||||
return (this.previstasTomadorPropio.GetValueOrDefault() / this.primaComercialNeta.GetValueOrDefault()) * 100;
|
||||
}
|
||||
}
|
||||
public double PorTotComPre
|
||||
{
|
||||
get
|
||||
{
|
||||
return (this.totalPrevistas.GetValueOrDefault() / this.primaComercialNeta.GetValueOrDefault()) * 100;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user