using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace HCM.BusinessEntities
{
    [DataContract]
    public class Garantia
    {
        public Garantia()
        {
            iOperacionId =0;
           dcSuperficie=0;
           iFiguraJuridicaId=0;
           nValorComercial=0;
           sNumeroEscritura=string.Empty;
           bOrigenEjidal=false;
           iEstatusJuridicoId=0;
           FAlta=DateTime.Now;
           FInactivo=DateTime.Now;
           UAlta=0;
           sintInstitucionID=-1;
           sintTipoGarantiaID=-1;
           sintMonedaID=-1;
           datFechaValuacion=DateTime.Now;
           sintGradoPrelacion=0;
           vchDescripcion=string.Empty;
           bitBursatilidad=false;
           bitLiquidez = false;
           sintIndividual = 0;
        }
        [DataMember]
        public int? iOperacionId { get; set; }
        [DataMember]
        public int? iGarantiaId { get; set; }
        [DataMember]
        public decimal? dcSuperficie { get; set; }
        [DataMember]
        public int? iFiguraJuridicaId { get; set; }
        [DataMember]
        public decimal? nValorComercial { get; set; }
        [DataMember]
        public string sNumeroEscritura { get; set; }
        [DataMember]
        public bool bOrigenEjidal { get; set; }
        [DataMember]
        public int? iEstatusJuridicoId { get; set; }
        [DataMember]
        public DateTime FAlta { get; set; }
        [DataMember]
        public DateTime FInactivo { get; set; }
        [DataMember]
        public int UAlta { get; set; }
        [DataMember]
        public Int16? sintInstitucionID { get; set; }
        [DataMember]
        public string strInstitucion { get; set; }
        [DataMember]
        public Int16? sintTipoGarantiaID { get; set; }
        [DataMember]
        public string strTipoGrantia { get; set; }
        [DataMember]
        public Int16? sintMonedaID { get; set; }
        [DataMember]
        public string strMoneda { get; set; }
        [DataMember]
        public DateTime datFechaValuacion { get; set; }
        [DataMember]
        public Int16? sintGradoPrelacion { get; set; }
        [DataMember]
        public string vchDescripcion { get; set; }
        [DataMember]
        public bool bitBursatilidad { get; set; }
        [DataMember]
        public bool bitLiquidez { get; set; }
        [DataMember]
        public Int16? sintIndividual { get; set; }

        
    }
}
