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

43 lines
1.4 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("Corporativo.Sucursal")]
public partial class Sucursal
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Sucursal()
{
DatosGeneralesFormalizacion = new HashSet<DatosGeneralesFormalizacion>();
}
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int IdSucursal { get; set; }
[StringLength(10)]
public string CodSucursal { get; set; }
[StringLength(150)]
public string Descripcion { get; set; }
public bool? Estado { 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; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<DatosGeneralesFormalizacion> DatosGeneralesFormalizacion { get; set; }
}
}