Skip to content

Instantly share code, notes, and snippets.

@websterian
Created October 10, 2018 20:28
Embed
What would you like to do?
using System;
using System.Collections.Generic;
using Sitecore.Commerce.Core;
namespace Sitecore.Services.Examples.Entities.Entities
{
public class Brand : CommerceEntity
{
public Brand()
{
Components = new List<Component>();
DateCreated = DateTime.UtcNow;
DateUpdated = DateCreated;
}
public Brand(string id) : this()
{
Id = id;
}
public string Description { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment