TbLinkedServer.cs 657 B

12345678910111213141516171819202122232425
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. namespace Aip.Service.Entities;
  4. [Table("TB_LINKED_SERVER")]
  5. public class TbLinkedServer
  6. {
  7. [Key]
  8. [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
  9. public required int ServerId { get; set; }
  10. public required int SystemId { get; set; }
  11. [StringLength(30)]
  12. public required string ServerIpAddr { get; set; }
  13. [StringLength(255)]
  14. public required string ServerDesc { get; set; }
  15. public required DateTime CreatedAt { get; set; }
  16. public required bool UseYn { get; set; }
  17. public DateTime? DeletedAt { get; set; }
  18. }