TFS_ANTIGUO/SInCathay/ULA.Cathay.CreditoModel/Credito/Vehiculo.cs

59 lines
1.7 KiB
C#

namespace ULA.Cathay.CreditoModel.Credito
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Catalogos.Vehiculo")]
public partial class Vehiculo
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Vehiculo()
{
ControlVisitas = new HashSet<ControlVisitas>();
}
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int IdVehiculo { get; set; }
[Required]
[StringLength(50)]
public string UserId { get; set; }
[StringLength(50)]
public string Marca { get; set; }
[StringLength(50)]
public string TipoVehiculo { get; set; }
public int? MotorCC { get; set; }
[StringLength(5)]
public string Ano { get; set; }
[StringLength(50)]
public string Placa { get; set; }
public decimal? ValorKilometro { get; set; }
[StringLength(100)]
public string UsuarioCreador { get; set; }
public DateTime? FechaCreacion { get; set; }
[StringLength(100)]
public string UsuarioModificado { get; set; }
public DateTime? FechaModificacion { get; set; }
public bool? Estado { get; set; }
public bool? Default { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<ControlVisitas> ControlVisitas { get; set; }
}
}