using System;

using System.ComponentModel.DataAnnotations;

namespace AyaNova.Models
{

    /// <summary>
    /// Operations job log
    /// </summary>
    public class OpsJobLog
    {
        [Key]
        public Guid GId { get; set; }
        
        [Required]
        public Guid JobId { get; set; }
        [Required]
        public DateTime Created { get; set; }
        [Required]
        public string StatusText { get; set; }



         public OpsJobLog(){
            GId=new Guid();
            Created=DateTime.UtcNow;          
            StatusText="default / not set";
        }

    }

}
