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
|
|
|
|
|
{
|
2023-09-11 19:52:23 +02:00
|
|
|
|
public class IllegalHandleOperationEntity : ReportIllegalHandleOperation, IReportEntity
|
2023-09-11 19:39:00 +02:00
|
|
|
|
{
|
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|