Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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
public int Id { get; set; }
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
You can’t perform that action at this time.