﻿using System;
using MrFusion.Models;
using Newtonsoft.Json;

namespace MrFusion.Dapper
{
    public class Card : ICard
    {
        public Guid Id { get; set; }
        public Guid JobId { get; set; }
        public string Name { get; set; }
        public string Color { get; set; }
        public string Description { get; set; }

        [JsonIgnore]
        public Guid ParentId
        {
            get { return JobId; }
            set { JobId = value; }
        }
    }
}
