TbAipConfig.cs 535 B

1234567891011121314151617181920212223
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. namespace Aip.Service.Entities;
  4. [Table("TB_AIP_CONFIG")]
  5. public class TbAipConfig
  6. {
  7. [Key]
  8. [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
  9. public required int Id { get; set; }
  10. public required int AipServerId { get; set; }
  11. [StringLength(1023)]
  12. public required string ConfigKey { get; set; }
  13. public required string ConfigValue { get; set; }
  14. public required DateTime CreatedAt { get; set; }
  15. }