Initial commit
This commit is contained in:
27
license-system-backend/src/License.Api/Models/CardKeyLog.cs
Normal file
27
license-system-backend/src/License.Api/Models/CardKeyLog.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace License.Api.Models;
|
||||
|
||||
public class CardKeyLog
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public int CardKeyId { get; set; }
|
||||
|
||||
[MaxLength(50)]
|
||||
public string Action { get; set; } = string.Empty;
|
||||
|
||||
public int? OperatorId { get; set; }
|
||||
|
||||
[MaxLength(20)]
|
||||
public string? OperatorType { get; set; }
|
||||
|
||||
public string? Details { get; set; }
|
||||
|
||||
[MaxLength(45)]
|
||||
public string? IpAddress { get; set; }
|
||||
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
public CardKey? CardKey { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user