Init
This commit is contained in:
10
Prefab.Base/Catalog/Products/ProductRules.cs
Normal file
10
Prefab.Base/Catalog/Products/ProductRules.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Prefab.Base.Catalog.Products;
|
||||
|
||||
public static class ProductRules
|
||||
{
|
||||
public const int NameMaxLength = 256;
|
||||
public const int SlugMaxLength = 256;
|
||||
public const int SkuMaxLength = 64;
|
||||
public const int DescriptionMaxLength = 2048;
|
||||
public const string SlugPattern = "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
||||
}
|
||||
Reference in New Issue
Block a user