Skip to content

Instantly share code, notes, and snippets.

@websterian
Created October 10, 2018 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save websterian/6298782c9de474ad6027967e9ab1ec1c to your computer and use it in GitHub Desktop.
Save websterian/6298782c9de474ad6027967e9ab1ec1c to your computer and use it in GitHub Desktop.
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