using System;
using System.Collections.Generic;
using AyaNova.Biz;

using System.ComponentModel.DataAnnotations;

namespace AyaNova.Models
{

    //Test class for development
    public partial class Widget
    {
        public long Id { get; set; }
        public uint ConcurrencyToken { get; set; }

        [Required]
        public long OwnerId { get; set; }
        public string Name { get; set; }
        public uint Serial { get; set; }
        public decimal? DollarAmount { get; set; }
        public bool? Active { get; set; }
        public AuthorizationRoles Roles { get; set; }
        public DateTime? StartDate { get; set; }
        public DateTime? EndDate { get; set; }
        public string Notes { get; set; }
        public int Count {get;set;}
        public List<string> Tags { get; set; }

        public Widget(){
            Tags=new List<string>();
        }

    }

}
