31 lines
813 B
C#
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; }
|
|
}
|
|
}
|