Skip to content
Snippets Groups Projects
Commit bb0ecc4c authored by areynold's avatar areynold
Browse files

Merge branch 'release/2.0.0-alpha11'

parents 033db760 c81f6b3b
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFramework>net45</TargetFramework>
<Version>2.0.0-alpha10</Version>
<Version>2.0.0-alpha11</Version>
<Authors>areynold</Authors>
<Company>Beckman Institute for Advanced Science &amp; Technology; University of Illinois at Urbana-Champaign</Company>
<Copyright>Copyright 2018, University of Illinois Board of Trustees</Copyright>
......@@ -11,7 +11,11 @@
<RepositoryUrl>https://gitlab.engr.illinois.edu/beckmancomms/beckmancomms-api-datatransferobjects.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>mvc, dto, api, beckman, uiuc, illinois</PackageTags>
<PackageReleaseNotes>2.0.0-alpha10:
<PackageReleaseNotes>2.0.0-alpha11:
* Extend PersonDto properties.
* Add supplemental directory DTOs (PublicationDto, PressDto, LinkDto).
2.0.0-alpha10:
* Add Status and HomeUnit properties to PersonDto.
* Add NCSA license file.
* Update nuget packaging instructions for Visual Studio.
......@@ -65,7 +69,8 @@
* Add v1, v2 docstrings.
0.0.1:
* Package initial v1, v2 data transfer objects.</PackageReleaseNotes>
* Package initial v1, v2 data transfer objects.
</PackageReleaseNotes>
<NeutralLanguage>en-US</NeutralLanguage>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<PackageLicenseUrl>https://gitlab.engr.illinois.edu/beckmancomms/beckmancomms-api-datatransferobjects/blob/master/License.md</PackageLicenseUrl>
......
namespace BeckmanComms.Api.DataTransferObjects.V2.Directory
{
/// <summary>
/// Data transfer object representing a link.
/// </summary>
public class LinkDto
{
/// <summary>
/// Human readable link title.
/// </summary>
public string Title { get; set; }
/// <summary>
/// Link URL.
/// </summary>
public string Url { get; set; }
}
}
\ No newline at end of file
......@@ -62,6 +62,36 @@ namespace BeckmanComms.Api.DataTransferObjects.V2.Directory
/// </summary>
public string PhoneNumber { get; set; }
/// <summary>
/// Staff member's HTML-formatted biography.
/// </summary>
public string Biography { get; set; }
/// <summary>
/// HTML-formatted statement of honors received by staff member.
/// </summary>
public string Honors { get; set; }
/// <summary>
/// HTML-formatted summary of staff member's research.
/// </summary>
public string Research { get; set; }
/// <summary>
/// Collection containing staff member's related links.
/// </summary>
public IEnumerable<LinkDto> Links { get; set; }
/// <summary>
/// Collection containing staff member's press mentions.
/// </summary>
public IEnumerable<PressDto> Press { get; set; }
/// <summary>
/// Collection containing staff member's publications.
/// </summary>
public IEnumerable<PublicationDto> Publications { get; set; }
/// <summary>
/// Collection containing staff member's directory photos.
/// </summary>
......
namespace BeckmanComms.Api.DataTransferObjects.V2.Directory
{
/// <summary>
/// Data transfer object representing a press mention.
/// </summary>
public class PressDto
{
/// <summary>
/// Article title.
/// </summary>
public string Title { get; set; }
/// <summary>
/// Link to article.
/// </summary>
public string Url { get; set; }
/// <summary>
/// Article publication year.
/// </summary>
public int Year { get; set; }
}
}
\ No newline at end of file
namespace BeckmanComms.Api.DataTransferObjects.V2.Directory
{
/// <summary>
/// Data transfer object representing a staff member's publication record.
/// </summary>
public class PublicationDto
{
/// <summary>
/// Bibliographic entry for publication.
/// </summary>
public string Bibliography { get; set; }
/// <summary>
/// Publication year.
/// </summary>
public int Year { get; set; }
/// <summary>
/// Link to publication.
/// </summary>
public string Link { get; set; }
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment