TFS_ANTIGUO/PrendarioDavivienda/SlnDavivienda/ULA.Davivienda.PrendarioModel/Prendario/Genero.cs

30 lines
945 B
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.Genero")]
public partial class Genero
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Genero()
{
Cliente = new HashSet<Cliente>();
}
[Key]
[StringLength(3)]
public string IdGenero { get; set; }
[StringLength(50)]
public string Descripcion { get; set; }
public bool? Estado { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<Cliente> Cliente { get; set; }
}
}