39 lines
1.4 KiB
C#
39 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.SubAgenciaVehiculo")]
|
|
public partial class SubAgenciaVehiculo
|
|
{
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
public SubAgenciaVehiculo()
|
|
{
|
|
CorreoAgencia = new HashSet<CorreoAgencia>();
|
|
Cotizacion = new HashSet<Cotizacion>();
|
|
}
|
|
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int IdSubAgenciaVehiculo { get; set; }
|
|
|
|
public int? IdAgenciaVehiculo { get; set; }
|
|
|
|
[StringLength(100)]
|
|
public string Descripcion { get; set; }
|
|
|
|
public bool? Estado { get; set; }
|
|
|
|
public virtual AgenciaVehiculo AgenciaVehiculo { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<CorreoAgencia> CorreoAgencia { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<Cotizacion> Cotizacion { get; set; }
|
|
|
|
}
|
|
}
|