TbAipProtection.cs 757 B

12345678910111213141516171819202122232425262728
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. namespace Aip.Service.Entities;
  4. [Table("TB_AIP_PROTECTION")]
  5. public class TbAipProtection
  6. {
  7. [Key]
  8. [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
  9. public int ProtectionId { get; set; }
  10. [StringLength(255)]
  11. public string ProtectionGuid { get; set; } = string.Empty;
  12. [StringLength(255)]
  13. public string ProtectionName { get; set; } = string.Empty;
  14. [DatabaseGenerated(DatabaseGeneratedOption.Computed)]
  15. public DateTime CreatedAt { get; set; } = DateTime.Now;
  16. public bool UseYn { get; set; }
  17. [StringLength(512)]
  18. public string? ProtectionDesc { get; set; }
  19. public DateTime? DeletedAt { get; set; }
  20. }