40 lines
1.1 KiB
C#
40 lines
1.1 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("Global.TelefonoCliente")]
|
|
public partial class TelefonoCliente
|
|
{
|
|
[Key]
|
|
[Column(Order = 0)]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int IdTelefono { get; set; }
|
|
|
|
[Key]
|
|
[Column(Order = 1)]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public int IdCliente { get; set; }
|
|
|
|
[StringLength(3)]
|
|
public string IdTipoTelefono { get; set; }
|
|
|
|
public int? Secuencial { get; set; }
|
|
|
|
[StringLength(10)]
|
|
public string CodigoArea { get; set; }
|
|
|
|
[StringLength(50)]
|
|
public string Telefono { get; set; }
|
|
|
|
[StringLength(10)]
|
|
public string Extension { get; set; }
|
|
|
|
public virtual TipoTelefono TipoTelefono { get; set; }
|
|
|
|
public virtual Cliente Cliente { get; set; }
|
|
}
|
|
}
|