-
Notifications
You must be signed in to change notification settings - Fork 1
/
SourceProduct.cs
56 lines (40 loc) · 1.52 KB
/
SourceProduct.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
using System.Collections.Generic;
using Plugin.Hunk.Catalog.Abstractions;
using Plugin.Hunk.Catalog.Entity;
using Plugin.Hunk.Catalog.Metadata;
using Plugin.Hunk.Catalog.Model;
using Sitecore.Commerce.Core;
namespace Plugin.Hunk.Catalog.Test.SellableItemEntityImport
{
public class SourceProduct : IEntity
{
public SourceProduct()
{
Parents = new List<string>();
Languages = new List<LanguageEntity<SourceProduct>>();
Variants = new List<SourceProductVariant>();
Tags = new List<Tag>();
RelationshipDetails = new List<RelationshipDetail>();
}
public string Id { get; set; }
public string Name { get; set; }
public string DisplayName { get; set; }
public string Description { get; set; }
public string Brand { get; set; }
public string Manufacturer { get; set; }
public string TypeOfGood { get; set; }
public IList<Tag> Tags { get; set; }
[Parents()]
public IList<string> Parents { get; set; }
[Relationships()]
public IList<RelationshipDetail> RelationshipDetails { get; set; }
[Languages()]
public IList<LanguageEntity<SourceProduct>> Languages { get; set; }
[Variants()]
public IList<SourceProductVariant> Variants { get; set; }
public string Accessories { get; set; }
public string Dimensions { get; set; }
[InventorySetName]
public string InventorySetName { get; set; }
}
}