Primera versión estable compatible con linux de WSAsegasa
This commit is contained in:
71
bdAsegasa/Extensiones/registrosverifactu.cs
Normal file
71
bdAsegasa/Extensiones/registrosverifactu.cs
Normal file
@@ -0,0 +1,71 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using static bdAsegasa.db.registrosverifactu;
|
||||
|
||||
namespace bdAsegasa.db
|
||||
{
|
||||
public partial class registrosverifactu
|
||||
{
|
||||
public string CSV
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.idRespuestaVerifactuNavigation == null)
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
else
|
||||
{
|
||||
return this.idRespuestaVerifactuNavigation.CSV;
|
||||
}
|
||||
}
|
||||
}
|
||||
public string DescripcionEstado
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((EstadoEnum)this.Estado).ToString().Replace("_"," ");
|
||||
}
|
||||
}
|
||||
|
||||
public string DescripcionOperacion
|
||||
{
|
||||
get
|
||||
{
|
||||
return ((OperacionEnum)this.Operacion).ToString().Replace("_", " ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public enum OperacionEnum
|
||||
{
|
||||
ALTA = 0,
|
||||
SUBSANACION = 1,
|
||||
ALTA_POR_RECHAZO = 2,
|
||||
REENVÍO = 3,
|
||||
ANULACIÓN = 9,
|
||||
CONSULTA_DATOS = 5,
|
||||
OBTENCIÓN_QR = 100
|
||||
}
|
||||
|
||||
public enum EstadoEnum
|
||||
{
|
||||
PENDIENTE_RESPUESTA = 0,
|
||||
CORRECTO = 1,
|
||||
ACEPTADO_CON_ERRORES = 2,
|
||||
INCORRECTO = 3,
|
||||
COMPLETADO = 10
|
||||
}
|
||||
public enum AplicacionEnum
|
||||
{
|
||||
LIQUIDACION_AGENTE = 0,
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user