Initial git push
This commit is contained in:
30
H_PLUS_Sports/Models/Customer.cs
Normal file
30
H_PLUS_Sports/Models/Customer.cs
Normal file
@ -0,0 +1,30 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user