123456789101112131415161718192021222324252627282930 |
- using Azure;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace AipGateway.Data.Entities
- {
- [Table("TB_AIP_SERVER")]
- public class TbAipServer
- {
- [Key]
- public required int AipServerId { get; set; }
- [StringLength(255)]
- public required string AipServerName { get; set; }
- public string? IpAddr { get; set; }
- public int? Port { get; set; }
- public required DateTime CreatedAt { get; set; }
- public override string ToString()
- {
- return "TbAipServer{ AipServerId: " + AipServerId + ", AipServerName: " + AipServerName + ", IpAddr: " + IpAddr + ", Port: " + Port + ", CreatedAt: " + CreatedAt + "}";
- }
- }
- }
|