using Knoks.Core.Entities.Args;
using Knoks.Core.Entities.Interfaces;
using Newtonsoft.Json;
using System;

namespace Knoks.Core.Entities
{
    public class Operator : IApiResult
    {
        [JsonIgnore]
        public bool IsActive { get; set; }

        [JsonIgnore, AutoInitField]
        public int ApiConsumerId { get; set; }

        public int OperatorId { get; set; }
        public string OperatorName { get; set; }
        public DateTime OperatorCreationDate { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string Phone { get; set; }
        public string Email { get; set; }
        public int? CountryId { get; set; }
        public bool IsReadOnly { get; set; }
        public bool IsTest { get; set; }
    }

    public class OperatorCredential
    {
        public Operator Operator { get; set; }
        public string OperatorPassword { get; set; }
    }
}