44 lines
1.8 KiB
C#
44 lines
1.8 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.EstructuraOrgChart")]
|
|
public partial class EstructuraOrgChart
|
|
{
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
public EstructuraOrgChart()
|
|
{
|
|
MiembrosComiteCredito = new HashSet<MiembrosComiteCredito>();
|
|
Funcionario = new HashSet<Funcionario>();
|
|
RolFuncionalEstructuraOrgChart = new HashSet<RolFuncionalEstructuraOrgChart>();
|
|
}
|
|
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int IdEstructuraOrgChart { get; set; }
|
|
|
|
[StringLength(150)]
|
|
public string Name { get; set; }
|
|
|
|
public int? IdTipoEstructuraOrgChart { get; set; }
|
|
|
|
public bool? Estado { get; set; }
|
|
|
|
public int? IdUsuarioSAP { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<MiembrosComiteCredito> MiembrosComiteCredito { get; set; }
|
|
|
|
public virtual TipoEstructuraOrgChart TipoEstructuraOrgChart { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<Funcionario> Funcionario { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<RolFuncionalEstructuraOrgChart> RolFuncionalEstructuraOrgChart { get; set; }
|
|
}
|
|
}
|