using System;
using System.ComponentModel.DataAnnotations;

namespace HelloCoreClrApp.Data.Entities
{
    public class Greeting
    {
        [Key]
        public Guid GreetingId { get; set; }

        [Required]
        [MaxLength(20)]
        public string Name { get; set; }

        [Required]
        public DateTime TimestampUtc { get; set; }
    }
}
using System;
using System.ComponentModel.DataAnnotations;

namespace HelloCoreClrApp.Data.Entities
{
    public class Greeting
    {
        [Key]
        public Guid GreetingId { get; set; }

        [Required]
        [MaxLength(30)]
        public string Name { get; set; }

        [Required]
        public DateTime TimestampUtc { get; set; }
    }
}
Increase size since we add something to the max. 20 chars coming from the request.
Increase size since we add something to the max. 20 chars coming from the request.
