TbLinkedDecryptKey.cs 635 B

123456789101112131415161718192021222324
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. namespace Aip.Service.Entities;
  4. [Table("TB_LINKED_DECRYPT_KEY")]
  5. public class TbLinkedDecryptKey
  6. {
  7. [Key]
  8. [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
  9. public required int Id { get; set; }
  10. public required int ServerId { get; set; }
  11. [StringLength(64)]
  12. public required string DecryptKey { get; set; }
  13. public required DateTime ExpiredAt { get; set; }
  14. public required DateTime CreatedAt { get; set; }
  15. public required bool UseYn { get; set; }
  16. public DateTime? DeletedAt { get; set; }
  17. }