38 lines
1.2 KiB
C#
38 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using AyCode.Core.Consts;
|
|
|
|
namespace FruitBank.Common.Server
|
|
{
|
|
public class FruitBankConst : AcConst
|
|
{
|
|
public static string ProjectIdString = "aad53443-2ee2-4650-8a99-97e907265e4e";
|
|
|
|
public static string MeasuringRoleSystemName = "Measuring";
|
|
public static string MeasuringRevisorRoleSystemName = "MeasuringRevisor";
|
|
public static string IsMeasureableAttributeName = "IsMeasurable";
|
|
|
|
/// <summary>
|
|
/// DateTime generic attribute on Product.
|
|
/// The start of the window during which this product is visible for preordering.
|
|
/// </summary>
|
|
public const string PreorderWindowStart = "PreorderWindowStart";
|
|
|
|
/// <summary>
|
|
/// DateTime generic attribute on Product.
|
|
/// The end of the window during which this product is visible for preordering.
|
|
/// </summary>
|
|
public const string PreorderWindowEnd = "PreorderWindowEnd";
|
|
|
|
static FruitBankConst()
|
|
{
|
|
ProjectId = Guid.Parse(ProjectIdString);
|
|
ProjectSalt = GenerateProjectSalt(ProjectId.ToString("N"));
|
|
}
|
|
}
|
|
|
|
}
|