refactor:重构审计日志模块,完善用户数据权限
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
namespace Yi.Framework.AuditLogging.Domain.Shared.Consts;
|
||||
|
||||
public class AuditLogActionConsts
|
||||
{
|
||||
/// <summary>
|
||||
/// Default value: 256
|
||||
/// </summary>
|
||||
public static int MaxServiceNameLength { get; set; } = 256;
|
||||
|
||||
/// <summary>
|
||||
/// Default value: 128
|
||||
/// </summary>
|
||||
public static int MaxMethodNameLength { get; set; } = 128;
|
||||
|
||||
/// <summary>
|
||||
/// Default value: 2000
|
||||
/// </summary>
|
||||
public static int MaxParametersLength { get; set; } = 2000;
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
namespace Yi.Framework.AuditLogging.Domain.Shared.Consts;
|
||||
|
||||
public static class AuditLogConsts
|
||||
{
|
||||
/// <summary>
|
||||
/// Default value: 96
|
||||
/// </summary>
|
||||
public static int MaxApplicationNameLength { get; set; } = 96;
|
||||
|
||||
/// <summary>
|
||||
/// Default value: 64
|
||||
/// </summary>
|
||||
public static int MaxClientIpAddressLength { get; set; } = 64;
|
||||
|
||||
/// <summary>
|
||||
/// Default value: 128
|
||||
/// </summary>
|
||||
public static int MaxClientNameLength { get; set; } = 128;
|
||||
|
||||
/// <summary>
|
||||
/// Default value: 64
|
||||
/// </summary>
|
||||
public static int MaxClientIdLength { get; set; } = 64;
|
||||
|
||||
/// <summary>
|
||||
/// Default value: 64
|
||||
/// </summary>
|
||||
public static int MaxCorrelationIdLength { get; set; } = 64;
|
||||
|
||||
/// <summary>
|
||||
/// Default value: 512
|
||||
/// </summary>
|
||||
public static int MaxBrowserInfoLength { get; set; } = 512;
|
||||
|
||||
/// <summary>
|
||||
/// Default value: 256
|
||||
/// </summary>
|
||||
public static int MaxCommentsLength { get; set; } = 256;
|
||||
|
||||
/// <summary>
|
||||
/// Default value: 256
|
||||
/// </summary>
|
||||
public static int MaxUrlLength { get; set; } = 256;
|
||||
|
||||
/// <summary>
|
||||
/// Default value: 16
|
||||
/// </summary>
|
||||
public static int MaxHttpMethodLength { get; set; } = 16;
|
||||
|
||||
/// <summary>
|
||||
/// Default value: 256
|
||||
/// </summary>
|
||||
public static int MaxUserNameLength { get; set; } = 256;
|
||||
|
||||
/// <summary>
|
||||
/// Default value: 64
|
||||
/// </summary>
|
||||
public static int MaxTenantNameLength { get; set; } = 64;
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
namespace Yi.Framework.AuditLogging.Domain.Shared.Consts;
|
||||
|
||||
public class EntityChangeConsts
|
||||
{
|
||||
/// <summary>
|
||||
/// Default value: 128
|
||||
/// </summary>
|
||||
public static int MaxEntityTypeFullNameLength { get; set; } = 128;
|
||||
|
||||
/// <summary>
|
||||
/// Default value: 128
|
||||
/// </summary>
|
||||
public static int MaxEntityIdLength { get; set; } = 128;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
namespace Yi.Framework.AuditLogging.Domain.Shared.Consts;
|
||||
|
||||
public class EntityPropertyChangeConsts
|
||||
{
|
||||
/// <summary>
|
||||
/// Default value: 512
|
||||
/// </summary>
|
||||
public static int MaxNewValueLength { get; set; } = 512;
|
||||
|
||||
/// <summary>
|
||||
/// Default value: 512
|
||||
/// </summary>
|
||||
public static int MaxOriginalValueLength { get; set; } = 512;
|
||||
|
||||
/// <summary>
|
||||
/// Default value: 128
|
||||
/// </summary>
|
||||
public static int MaxPropertyNameLength { get; set; } = 128;
|
||||
|
||||
/// <summary>
|
||||
/// Default value: 64
|
||||
/// </summary>
|
||||
public static int MaxPropertyTypeFullNameLength { get; set; } = 64;
|
||||
}
|
||||
Reference in New Issue
Block a user