Files
2016-10-18 11:10:01 -04:00

33 lines
616 B
C#

using System;
using AutoMapper;
using InventoryTraker.Web.Core;
namespace InventoryTraker.Web.Models
{
public class InventoryViewModel
{
public string Id { get; set; }
public DateTime ShredReadyDate { get; set; }
public DateTime AddedDate { get; set; }
public int Quantity { get; set; }
public string Memo { get; set; }
public string ProgramName { get; set; }
public string ProgramSubtype { get; set; }
public string Description { get; set; }
public class AutoMapperProfile : Profile
{
public AutoMapperProfile()
{
CreateMap<Inventory, InventoryViewModel>();
}
}
}
}