mirror of https://github.com/abpframework/abp.git
6 changed files with 29 additions and 16 deletions
@ -0,0 +1,9 @@ |
|||||
|
namespace Volo.CmsKit.Entities |
||||
|
{ |
||||
|
public class CmsEntityConsts |
||||
|
{ |
||||
|
public static int MaxEntityTypeLength { get; set; } = 64; |
||||
|
|
||||
|
public static int MaxEntityIdLength { get; set; } = 64; |
||||
|
} |
||||
|
} |
||||
@ -1,11 +1,13 @@ |
|||||
namespace Volo.CmsKit.Reactions |
using Volo.CmsKit.Entities; |
||||
|
|
||||
|
namespace Volo.CmsKit.Reactions |
||||
{ |
{ |
||||
public static class UserReactionConsts |
public static class UserReactionConsts |
||||
{ |
{ |
||||
public static int EntityTypeLength { get; set; } = 64; |
public static int MaxEntityTypeLength { get; set; } = CmsEntityConsts.MaxEntityTypeLength; |
||||
|
|
||||
public static int EntityIdLength { get; set; } = 64; |
public static int MaxEntityIdLength { get; set; } = CmsEntityConsts.MaxEntityIdLength; |
||||
|
|
||||
public static int ReactionNameLength { get; set; } = 32; |
public static int MaxReactionNameLength { get; set; } = 32; |
||||
} |
} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue