Files
HplusSports/H_PLUS_Sports/Models/Customer.cs
2019-12-17 20:44:55 +01:00

31 lines
813 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace H_PLUS_Sports.Models
{
public partial class Customer
{
public Customer()
{
Order = new HashSet<Order>();
}
public int CustomerId { get; set; }
[StringLength(50)]
public string FirstName { get; set; }
[StringLength(50)]
public string LastName { get; set; }
[EmailAddress]
public string Email { get; set; }
[Phone]
public string Phone { get; set; }
public string Address { get; set; }
public string City { get; set; }
public string State { get; set; }
public string Zipcode { get; set; }
public virtual ICollection<Order> Order { get; set; }
}
}