Aliendreamer

prisonerdto

Aug 17th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.61 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.Xml.Serialization;
  5. using SoftJail.DataProcessor.ExportDto;
  6.  
  7. namespace SoftJail.DataProcessor.ExportDto
  8. {
  9.     [XmlType("Prisoner")]
  10.    public class ExportPrisonerDto
  11.     {
  12.         [XmlElement("Id")]
  13.         public int Id { get; set; }
  14.  
  15.         [XmlElement("Name")]
  16.         public string Name { get; set; }
  17.  
  18.         [XmlElement("IncarcerationDate")]
  19.         public string IncarcerationDate { get; set; }
  20.  
  21.         [XmlArray("EncruptedMessages")]
  22.         public ExportMessageDto[] EncruptedMessages { get; set; }
  23.     }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment