Commit 153252bb authored by Clint Mourlevat's avatar Clint Mourlevat

Adding timestamp to vanity model

parent 310341b0
using System;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
namespace Stratis.Guru.Models namespace Stratis.Guru.Models
{ {
public class Vanity public class Vanity
{ {
public DateTime CreationDatetime { get; set; } = DateTime.Now;
[Required(ErrorMessage = "The prefix is required.")] [Required(ErrorMessage = "The prefix is required.")]
[StringLength(4, MinimumLength = 1, ErrorMessage = "You connat overflow the size.")] [StringLength(4, MinimumLength = 1, ErrorMessage = "You connat overflow the size.")]
public string Prefix { get; set; } public string Prefix { get; set; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment