Skip to content
Snippets Groups Projects
PersonDto.cs 1.77 KiB
Newer Older
  • Learn to ignore specific revisions
  • areynold's avatar
    areynold committed
    using System.Collections.Generic;
    
    
    namespace BeckmanComms.Api.DataTransferObjects.V2.Directory
    
    areynold's avatar
    areynold committed
    {
        /// <summary>
        /// Data Transfer Object containing combined directory database fields.
        /// </summary>
        public class PersonDto
        {
            /// <summary>
            /// Staff member's U of I NetID.
            /// </summary>
            public string NetId { get; set; }
    
            /// <summary>
            /// Staff member's name.
            /// </summary>
            public string Name { get; set; }
    
            /// <summary>
            /// Staff member's preferred first name.
            /// </summary>
            public string FirstName { get; set; }
    
            /// <summary>
            /// Staff member's family name.
            /// </summary>
            public string LastName { get; set; }
    
            /// <summary>
            /// Staff member's email address.
            /// </summary>
            public string EmailAddress { get; set; }
    
            /// <summary>
            /// Staff member's title.
            /// </summary>
            public string Title { get; set; }
    
            /// <summary>
            /// Staff member's campus address.
            /// </summary>
            public string BuildingAddress { get; set; }
    
            /// <summary>
            /// Staff member's office number.
            /// </summary>
            public string RoomNumber { get; set; }
    
            /// <summary>
            /// Staff member's campus phone number.
            /// </summary>
            public string PhoneNumber { get; set; }
    
            /// <summary>
            /// Collection containing staff member's directory photos.
            /// </summary>
            public IDictionary<string, PhotoDto> Photos { get; set; }
    
            /// <summary>
            /// Collection containing staff member's group affiliations.
            /// </summary>
            public IEnumerable<AffiliationDto> Affiliations { get; set; }
        }
    }