CodeLiturgy.Dashboard/BlueWest.Data.Capital/Company/Product/Product.cs

20 lines
526 B
C#

using System.Collections.Generic;
using MapTo;
namespace BlueWest.Data
{
[MapFrom(new []{typeof(ProductUpdate), typeof(ProductCreate), typeof(ProductUnique)})]
public partial class Product
{
public int Id { get; set; }
public string Name { get; set; }
public string Size { get; set; }
public double Price { get; set; }
public Currency Currency { get; set; }
public Industry Industry { get; set; }
public List<Company> Seller { get; set; }
}
}