This commit is contained in:
2016-08-08 14:47:35 -04:00
commit 0b0cb7c73a
156 changed files with 114318 additions and 0 deletions
@@ -0,0 +1,25 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using Heroic.AutoMapper;
using InventoryTraker.Web.Core;
namespace InventoryTraker.Web.Models
{
public class InventoryAddForm : IMapTo<Inventory>
{
[HiddenInput(DisplayValue = false)]
public string InventoryTypeId { get; set; }
[Required]
public DateTime ExpirationDate { get; set; }
[Required]
public int Quantity { get; set; }
[Required, Display(Name = "Arrival Date")]
public DateTime AddedDate { get; set; }
public string Memo { get; set; }
}
}