This commit is contained in:
Zeeshaun
2026-04-13 16:52:52 +00:00
parent c535080e37
commit 26d007182d
11 changed files with 52 additions and 19 deletions
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.0.2</Version>
<Description>
@@ -17,9 +17,13 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.10" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="3.1.10" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.14" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.14" />
<PackageReference Include="System.ComponentModel.Annotations" Version="4.7.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\LCU.Library.Internal.MaidBotModels\LCU.Library.Internal.MaidBotModels.csproj" />
</ItemGroup>
</Project>
@@ -1,20 +0,0 @@
namespace LCU.Api.Internal.MaidBotLib.Models
{
public class DebugEventLog
{
public const int DebugMaxLength = 3000;
public DebugEventLog()
{
}
public DebugEventLog(EventLog eventLog)
{
RawLog = eventLog.DebugData.Length > DebugMaxLength ? eventLog.DebugData.Substring(0, DebugMaxLength) : eventLog.DebugData;
}
public int DebugEventLogId { get; set; }
public string RawLog { get; set; }
}
}
@@ -1,16 +0,0 @@
using System;
namespace LCU.Api.Internal.MaidBotLib.Models
{
public class EventLog
{
public int EventLogId { get; set; }
public string Application { get; set; }
public string Level { get; set; }
public string Group { get; set; }
public DateTime LogTimeStamp { get; set; }
public string Message { get; set; }
public string Environment { get; set; }
public string DebugData { get; set; }
}
}
@@ -1,14 +0,0 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace LCU.Api.Internal.MaidBotLib.Models
{
public enum GroupEnum
{
Testing,
ITDevelopment,
BusinessOperations,
IndirectLending
}
}
@@ -1,18 +0,0 @@
using System.ComponentModel.DataAnnotations;
namespace LCU.Api.Internal.MaidBotLib.Models
{
public class LoggingMatrix
{
public int LoggingMatrixId { get; set; }
[StringLength(200, MinimumLength = 1, ErrorMessage = "Application field must have a length between 1 and 200 characters")]
public string Application { get; set; }
[StringLength(50, MinimumLength = 1, ErrorMessage = "Level field must have a length between 1 and 50 characters")]
public string Level { get; set; }
[StringLength(100, MinimumLength = 1, ErrorMessage = "Groups field must have a length between 1 and 100 characters")]
public string Group { get; set; }
[StringLength(100, MinimumLength = 1, ErrorMessage = "Emails field must have a length between 1 and 100 characters")]
public string Email { get; set; }
public bool Disabled { get; set; }
}
}
@@ -1,7 +0,0 @@
namespace LCU.Api.Internal.MaidBotLib.Models
{
public enum PropertyEnum
{
Group
}
}