Files
InventoryTraker-Box/InventoryTraker.Web/Models/CustomerViewModel.cs
T
2016-08-08 14:47:35 -04:00

32 lines
707 B
C#

using System;
using System.Collections.Generic;
using Heroic.AutoMapper;
using InventoryTraker.Web.Core;
namespace InventoryTraker.Web.Models
{
public class CustomerViewModel : IMapFrom<Customer>
{
public int Id { get; set; }
public string Name { get; set; }
public string WorkEmail { get; set; }
public string HomeEmail { get; set; }
public string WorkPhone { get; set; }
public string HomePhone { get; set; }
public string HomeAddress { get; set; }
public string WorkAddress { get; set; }
public DateTime? TerminationDate { get; set; }
public IList<CustomerOpportunityViewModel> Opportunities { get; set; }
public IList<CustomerRiskViewModel> Risks { get; set; }
}
}