Files
InventoryTraker-Box/InventoryTraker.Web/Core/Transaction.cs
T
poprhythm a5fcb46e04 InventoryType from XML
Transaction updates
2016-08-25 13:00:09 -04:00

29 lines
538 B
C#

using System;
using System.ComponentModel.DataAnnotations;
namespace InventoryTraker.Web.Core
{
public class Transaction
{
public int Id { get; set; }
public virtual Inventory Inventory { get; set; }
[Required]
public int AddedQuantity { get; set; }
[Required]
public int RemovedQuantity { get; set; }
[Required]
public int CurrentQuantity { get; set; }
[Required]
public DateTime TransactionDate { get; set; }
public string Memo { get; set; }
[Required]
public DateTime Timestamp { get; set; }
}
}