StorageServerInfo.cs 647 B

12345678910111213141516171819202122232425262728
  1. using Mpeg4ConverterTool.Remedical;
  2. namespace Mpeg4ConverterTool.Document
  3. {
  4. [MongoDB.Bson.Serialization.Attributes.BsonIgnoreExtraElements]
  5. internal class StorageServerInfo
  6. {
  7. public string Id { get; set; }
  8. public string Address { get; set; }
  9. public int Port { get; set; }
  10. public string Description { get; set; }
  11. public StorageServerInfo()
  12. {
  13. }
  14. public StorageServerInfo(StorageServer server)
  15. {
  16. Id = server.Id;
  17. Address = server.Address;
  18. Port = server.Port;
  19. Description = server.Description;
  20. }
  21. }
  22. }