mirror-ac/server/Database/Entity/Report/IllegalHandleOperation.cs

27 lines
706 B
C#
Raw Normal View History

2023-09-11 19:39:00 +02:00
using server.Database.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace server.Database.Entity.Report
{
public class IllegalHandleOperationEntity : ReportIllegalHandleOperation, IReport
{
private readonly ModelContext _modelContext;
public UserEntity UserEntity { get; set; }
public IllegalHandleOperationEntity(ModelContext modelContext)
{
UserEntity = new UserEntity(modelContext);
_modelContext = modelContext;
}
public void InsertReport()
{
_modelContext.ReportIllegalHandleOperation.Add(this);
}
}
}