zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.Application/PermissionProviders/ProductPermissions.cs
2023-12-05 17:22:48 +08:00

24 lines
819 B
C#

namespace ZeroFramework.DeviceCenter.Application.PermissionProviders
{
public static class ProductPermissions
{
public const string GroupName = "ProductManager";
public static class Products
{
public const string Default = GroupName + ".Products";
public const string Create = Default + ".Create";
public const string Edit = Default + ".Edit";
public const string Delete = Default + ".Delete";
}
public static class MeasurementUnits
{
public const string Default = GroupName + ".MeasurementUnits";
public const string Create = Default + ".Create";
public const string Edit = Default + ".Edit";
public const string Delete = Default + ".Delete";
}
}
}