55 lines
2.2 KiB
C#
55 lines
2.2 KiB
C#
namespace ULA.Davivienda.PrendarioModel.Prendario
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Data.Entity.Spatial;
|
|
|
|
[Table("Catalogos.RubroSeguro")]
|
|
public partial class RubroSeguro
|
|
{
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
public RubroSeguro()
|
|
{
|
|
ParamCalculoSeguro = new HashSet<ParamCalculoSeguro>();
|
|
BeneficiarioSeguro = new HashSet<BeneficiarioSeguro>();
|
|
SegurosCotizacion = new HashSet<SegurosCotizacion>();
|
|
SegurosCotizacionDesglose = new HashSet<SegurosCotizacionDesglose>();
|
|
}
|
|
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int IdRubroSeguro { get; set; }
|
|
|
|
public int IdAseguradora { get; set; }
|
|
|
|
public int IdTipoRubroSeguro { get; set; }
|
|
|
|
[StringLength(10)]
|
|
public string Rubro { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string Descripcion { get; set; }
|
|
|
|
public bool? Estado { get; set; }
|
|
|
|
public bool Default { get; set; }
|
|
|
|
public virtual Aseguradora Aseguradora { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<ParamCalculoSeguro> ParamCalculoSeguro { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<BeneficiarioSeguro> BeneficiarioSeguro { get; set; }
|
|
|
|
public virtual TipoRubroSeguro TipoRubroSeguro { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<SegurosCotizacion> SegurosCotizacion { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<SegurosCotizacionDesglose> SegurosCotizacionDesglose { get; set; }
|
|
}
|
|
}
|