1
This commit is contained in:
@@ -7,6 +7,7 @@ global using System.Text;
|
||||
global using System.Text.RegularExpressions;
|
||||
global using Markdig;
|
||||
global using Microsoft.AspNetCore.Http;
|
||||
global using Microsoft.EntityFrameworkCore;
|
||||
global using Yes.Domain.Articles;
|
||||
global using Yes.Domain.Categories;
|
||||
global using Yes.Domain.Core.Enums;
|
||||
@@ -15,4 +16,3 @@ global using Yes.Domain.Core.Extensions;
|
||||
global using Yes.Domain.Core.Ioc;
|
||||
global using Yes.Domain.Core.Models;
|
||||
global using Yes.Domain.Users;
|
||||
global using Microsoft.EntityFrameworkCore;
|
||||
25
Yes.Domain/Logs/LogEntity.cs
Normal file
25
Yes.Domain/Logs/LogEntity.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
namespace Yes.Domain.Logs
|
||||
{
|
||||
[Table("Log")]
|
||||
public class LogEntity
|
||||
{
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
|
||||
public int UserId { get; set; }
|
||||
|
||||
public LogTypeEnum Type { get; set; }
|
||||
|
||||
public int RelatedId { get; set; }
|
||||
|
||||
public RelatedTypeEnum RelatedType { get; set; }
|
||||
|
||||
public string Content { get; set; }
|
||||
|
||||
public bool Success { get; set; }
|
||||
|
||||
public string Ip { get; set; }
|
||||
|
||||
public DateTime CreateDate { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user