42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
using System;
|
|
|
|
namespace bdAsegasa.db
|
|
{
|
|
public partial class vf_documentospolizassgextendidas
|
|
{
|
|
public bool FicheroModificado_TMP { get; set; }
|
|
public byte[] Fichero_TMP { get; set; }
|
|
|
|
public bool DocumentoComprobado
|
|
{
|
|
get
|
|
{
|
|
return this.FechaComprobacion.HasValue;
|
|
}
|
|
set
|
|
{
|
|
if (value)
|
|
{
|
|
this.FechaComprobacion = DateTime.Now;
|
|
this.idUsuarioComprueba = Utilidades.idUsuario;
|
|
this.UsuarioComprueba = Utilidades.NombreUsuario;
|
|
}
|
|
else
|
|
{
|
|
this.FechaComprobacion = null;
|
|
this.idUsuarioComprueba = null;
|
|
this.UsuarioComprueba = "";
|
|
}
|
|
}
|
|
}
|
|
|
|
public string DescripcionTipo
|
|
{
|
|
get
|
|
{
|
|
return ((documentospolizassg.TipoDocumentoEnum)(this.Tipo)).ToString().Replace("_", " ");
|
|
}
|
|
}
|
|
}
|
|
}
|