cicd-github-actions/src/GitHubActionsDemo.Api/Models/AuthorResponse.cs
2023-06-30 14:00:30 +01:00

25 lines
602 B
C#

namespace GitHubActionsDemo.Api.Models;
public class AuthorResponse
{
public AuthorResponse(
int authorId,
string firstName,
string lastName,
DateTime dateCreated,
DateTime dateModified
)
{
AuthorId = authorId;
FirstName = firstName;
LastName = lastName;
DateCreated = dateCreated;
DateModified = dateModified;
}
public int AuthorId { get; }
public string FirstName { get; }
public string LastName { get; }
public DateTime DateCreated { get; }
public DateTime DateModified { get; }
}