using MadRunFabric.Model.WorkOrderApi;
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkOrderApi.Model.Dto
{
    public class Cus_Customer_BaseDto
    {
        /// <summary>
        /// id
        /// </summary>
        public string id { get; set; }
        //------------------档案用户---------------------------------
        /// <summary>
        /// 联系人
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string mobilephone { get; set; }
        /// <summary>
        /// 固话号码
        /// </summary>
        public string telephone { get; set; }
        /// <summary>
        /// 转接经理
        /// </summary>
        public string manager { get; set; }
        /// <summary>
        /// 是否是黑名单
        /// </summary>
        public int isblack { get; set; } = 0;
        /// <summary>
        /// 是否是标记客户
        /// </summary>
        public int iscustomer { get; set; } = 0;
        //------------------单位---------------------------------
        /// <summary>
        /// 客户名称
        /// </summary>
        public string customername { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string companyame { get; set; }
        /// <summary>
        /// 省code
        /// </summary>
        public string province { get; set; }
        /// <summary>
        /// 省
        /// </summary>
        public string provincename { get; set; }
        /// <summary>
        /// 市code
        /// </summary>
        public string city { get; set; }
        /// <summary>
        /// 市
        /// </summary>
        public string cityname { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string address { get; set; }
        //------------------查看权限---------------------------------
        /// <summary>
        /// 角色code - 为空或者null时所有角色
        /// </summary>
        public string rolecode { get; set; }
        /// <summary>
        /// 用户code - 为空或者null时所有坐席用户
        /// </summary>
        public string usercode { get; set; }
        //------------------自定义字段---------------------------------
        /// <summary>
        /// 自定义字段
        /// </summary>
        public List<CustomfieldsList> customfields { get; set; }
        //------------------属性---------------------------------
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime createtime { get; set; } = DateTime.Now;
        /// <summary>
        /// 创建人工号
        /// </summary>
        public string createuser { get; set; }
        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string createusername { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int isdelete { get; set; } = 0;
        /// <summary>
        /// 删除用户
        /// </summary>
        public string deleteuser { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? deletetime { get; set; }
    }
}
