46 lines
1.4 KiB
C#
46 lines
1.4 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.AgenteSeguro")]
|
|
public partial class AgenteSeguro
|
|
{
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
public AgenteSeguro()
|
|
{
|
|
SegurosCotizacion = new HashSet<SegurosCotizacion>();
|
|
}
|
|
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int IdAgenteSeguro { get; set; }
|
|
|
|
public int? IdAseguradora { get; set; }
|
|
|
|
[StringLength(100)]
|
|
public string NombreCompleto { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string Email { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string Telefono { get; set; }
|
|
|
|
[StringLength(400)]
|
|
public string Direccion { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string NumLicencia { get; set; }
|
|
|
|
public bool? Estado { get; set; }
|
|
|
|
public virtual Aseguradora Aseguradora { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<SegurosCotizacion> SegurosCotizacion { get; set; }
|
|
}
|
|
}
|