53ed1b3af9
Arrival mostly working
27 lines
546 B
C#
27 lines
546 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace InventoryTraker.Web.Core
|
|
{
|
|
// AKA Commodity
|
|
public class Inventory
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public virtual InventoryType InventoryType { get; set; }
|
|
|
|
public virtual ICollection<Transaction> Transactions { get; set; }
|
|
|
|
[Required]
|
|
public DateTime ExpirationDate { get; set; }
|
|
|
|
[Required]
|
|
public DateTime AddedDate { get; set; }
|
|
|
|
[Required]
|
|
public int Quantity { get; set; }
|
|
|
|
public string Memo { get; set; }
|
|
}
|
|
} |