2 changed files with 59 additions and 0 deletions
@ -0,0 +1,17 @@
|
||||
using ATS.NonCustodial.Domain.Shared.AggRootEntities; |
||||
using Microsoft.EntityFrameworkCore; |
||||
using System.ComponentModel.DataAnnotations.Schema; |
||||
|
||||
namespace ATS.NonCustodial.Domain.Entities.Logs |
||||
{ |
||||
/// <summary> |
||||
/// 登录日志 |
||||
/// </summary> |
||||
/// Author:mxg |
||||
/// CreatedTimed:2022-05-12 18:30 PM |
||||
[Table("app_login_log")] |
||||
[Index(nameof(CreatedUserId), nameof(CreatedUserName))] |
||||
public class AppLoginLog : LogAbstract |
||||
{ |
||||
} |
||||
} |
||||
@ -0,0 +1,42 @@
|
||||
using ATS.NonCustodial.Domain.Shared.AggRootEntities; |
||||
using ATS.NonCustodial.Domain.Shared.Constants; |
||||
using Microsoft.EntityFrameworkCore; |
||||
using System.ComponentModel.DataAnnotations; |
||||
using System.ComponentModel.DataAnnotations.Schema; |
||||
|
||||
namespace ATS.NonCustodial.Domain.Entities.Logs |
||||
{ |
||||
/// <summary> |
||||
/// 操作日志 |
||||
/// </summary> |
||||
/// Author:mxg |
||||
/// CreatedTimed:2022-05-12 18:30 PM |
||||
[Table("app_operation_log")] |
||||
[Index(nameof(CreatedUserId), nameof(CreatedUserName))] |
||||
public class AppOperationLog : LogAbstract |
||||
{ |
||||
/// <summary> |
||||
/// 接口名称 |
||||
/// </summary> |
||||
[MaxLength(StringLengthConstants.StringLength255)] |
||||
public string? ApiLabel { get; set; } |
||||
|
||||
/// <summary> |
||||
/// 接口地址 |
||||
/// </summary> |
||||
[MaxLength(StringLengthConstants.StringLength128)] |
||||
public string? ApiPath { get; set; } |
||||
|
||||
/// <summary> |
||||
/// 接口提交方法 |
||||
/// </summary> |
||||
[MaxLength(StringLengthConstants.StringLength10)] |
||||
public string? ApiMethod { get; set; } |
||||
|
||||
/// <summary> |
||||
/// 操作参数 |
||||
/// </summary> |
||||
[MaxLength(StringLengthConstants.StringLength2048)] |
||||
public string? Params { get; set; } |
||||
} |
||||
} |
||||
Loading…
Reference in new issue