Created
November 6, 2019 00:53
-
-
Save IntegerMan/32110d5ab61cb0fc409c7997c87128e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel.DataAnnotations; | |
using Microsoft.AspNetCore.Mvc; | |
namespace MattEland.TestManager.Models | |
{ | |
[Display(Name = "Test Suite")] | |
public class TestSuite | |
{ | |
[Key] | |
public int Id { get; set; } | |
[Required] | |
public string Name { get; set; } | |
public string Description { get; set; } | |
[HiddenInput(DisplayValue = true)] | |
[Display(Name = "Created")] | |
public DateTime DateCreatedUtc { get; set; } = DateTime.UtcNow; | |
[HiddenInput(DisplayValue = true)] | |
[Display(Name = "Last Modified")] | |
public DateTime DateModifiedUtc { get; set; } = DateTime.UtcNow; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment