Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public class TestCase
{
[Key]
public int Id { get; set; }
[Required]
[DisplayName("Test Suite")]
[ForeignKey("TestSuite")]
public int TestSuiteId { get; set; }
[Display(Name = "Test Suite")]
public TestSuite TestSuite { 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;
public TestStatus Status { get; set; } = TestStatus.NotRun;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.