namespace QtCNETAPI.Models
{
    public class Contact
    {
        public string Id { get; set; } = string.Empty;
        public string OwnerId { get; set; } = string.Empty;
        public string UserId { get; set; } = string.Empty;
        public ContactStatus OwnerStatus { get; set; } = ContactStatus.AwaitingApprovalFromOther;
        public ContactStatus UserStatus { get; set; } = ContactStatus.AwaitingApprovalFromSelf;

        public virtual User? Owner { get; }
        public virtual User? User { get; }

        public enum ContactStatus { AwaitingApprovalFromOther = 0, AwaitingApprovalFromSelf = 1, Accepted = 2, NoRelation = 3 }
    }
}
