28 lines
556 B
C#
28 lines
556 B
C#
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; }
|
|
}
|