using Lada.Framework.Data.Domains.Crm;
using Lada.Framework.DTO;
using Lada.Framework.Infrastructures.Helpers;
using Ladaer.BackEnd.Infrastructures.DTO.Items.Identity;

namespace Ladaer.BackEnd.Infrastructures.DTO.Models.Crm
{
    public class CustomerModel : BaseModel<int>
    {
        /// <summary>
        /// Họ và tên
        /// </summary>
        public string FullName { get; set; } = "";

        /// <summary>
        /// Số điện thoại
        /// </summary>
        public string PhoneNumber { get; set; } = "";

        /// <summary>
        /// Địa chỉ
        /// </summary>
        public string Address { get; set; } = "";

        /// <summary>
        /// Địa chỉ email
        /// </summary>
        public string Email { get; set; } = "";

        /// <summary>
        /// Liên hệ zalo
        /// </summary>
        public string ZaloContact { get; set; } = "";

        /// <summary>
        /// Liên hệ zalo
        /// </summary>
        public string FacebookContact { get; set; } = "";


        public CustomerStatus Status { get; set; } = CustomerStatus.Actived;
        public string StatusStr => Status.GetDescription();

        //public int ManagerId { get; set; }
        //public string ManagerUsername { get; set; }
        //public string ManagerUsername { get; set; }

        public StaffItem? Manager { get; set; } = new StaffItem();

        public int UserId { get; set; }
        public string UserName { get; set; } = "";

    }
}
