Initial git push
This commit is contained in:
28
H_PLUS_Sports/Models/Order.cs
Normal file
28
H_PLUS_Sports/Models/Order.cs
Normal file
@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace H_PLUS_Sports.Models
|
||||
{
|
||||
public partial class Order
|
||||
{
|
||||
public Order()
|
||||
{
|
||||
OrderItem = new HashSet<OrderItem>();
|
||||
}
|
||||
|
||||
public int OrderId { get; set; }
|
||||
[Required]
|
||||
[DataType(DataType.Date)]
|
||||
public DateTime? Date { get; set; }
|
||||
[Required]
|
||||
public decimal? TotalDue { get; set; }
|
||||
public string Status { get; set; }
|
||||
public int CustomerId { get; set; }
|
||||
public int SalespersonId { get; set; }
|
||||
|
||||
public virtual Customer Customer { get; set; }
|
||||
public virtual Salesperson Salesperson { get; set; }
|
||||
public virtual ICollection<OrderItem> OrderItem { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user