using System;
using SQLite;

namespace Toggl.Phoebe.Data.DataObjects
{
    [Table ("Project")]
    public class ProjectData : CommonData
    {
        public ProjectData ()
        {
        }

        public ProjectData (ProjectData other) : base (other)
        {
            Name = other.Name;
            Color = other.Color;
            IsActive = other.IsActive;
            IsBillable = other.IsBillable;
            IsPrivate = other.IsBillable;
            IsTemplate = other.IsTemplate;
            UseTasksEstimate = other.UseTasksEstimate;
            WorkspaceId = other.WorkspaceId;
            ClientId = other.ClientId;
        }

        public string Name { get; set; }

        public int Color { get; set; }

        public bool IsActive { get; set; }

        public bool IsBillable { get; set; }

        public bool IsPrivate { get; set; }

        public bool IsTemplate { get; set; }

        public bool UseTasksEstimate { get; set; }

        [ForeignRelation (typeof(WorkspaceData))]
        public Guid WorkspaceId { get; set; }

        [ForeignRelation (typeof(ClientData))]
        public Guid? ClientId { get; set; }
    }
}

using System;
using SQLite;

namespace Toggl.Phoebe.Data.DataObjects
{
    [Table ("Project")]
    public class ProjectData : CommonData
    {
        public ProjectData ()
        {
        }

        public ProjectData (ProjectData other) : base (other)
        {
            Name = other.Name;
            Color = other.Color;
            IsActive = other.IsActive;
            IsBillable = other.IsBillable;
            IsPrivate = other.IsPrivate;
            IsTemplate = other.IsTemplate;
            UseTasksEstimate = other.UseTasksEstimate;
            WorkspaceId = other.WorkspaceId;
            ClientId = other.ClientId;
        }

        public string Name { get; set; }

        public int Color { get; set; }

        public bool IsActive { get; set; }

        public bool IsBillable { get; set; }

        public bool IsPrivate { get; set; }

        public bool IsTemplate { get; set; }

        public bool UseTasksEstimate { get; set; }

        [ForeignRelation (typeof(WorkspaceData))]
        public Guid WorkspaceId { get; set; }

        [ForeignRelation (typeof(ClientData))]
        public Guid? ClientId { get; set; }
    }
}

Fix typo in data object cloning.
Fix typo in data object cloning.
