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(); BeneficiarioSeguro = new HashSet(); SegurosCotizacion = new HashSet(); SegurosCotizacionDesglose = new HashSet(); } [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 { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection BeneficiarioSeguro { get; set; } public virtual TipoRubroSeguro TipoRubroSeguro { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection SegurosCotizacion { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection SegurosCotizacionDesglose { get; set; } } }