using MadRunFabric.Common;
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkOrderApi.Model.Dto
{
    public class Cus_Customer_ProjectDto
    {
        /// <summary>
        /// id
        /// </summary>
        
        public string id { get; set; }
        /// <summary>
        /// 档案用户id
        /// </summary>
        
        public string customerid { 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 customername { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string companyame { get; set; }
        ///// <summary>
        ///// 省code
        ///// </summary>
        //public string province { get; set; }
        ///// <summary>
        ///// 市code
        ///// </summary>
        //public string city { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string address { get; set; }
        //------------------项目---------------------------------
        /// <summary>
        /// 项目名称
        /// </summary>
        public string project_name { get; set; }
        /// <summary>
        /// 合同签订时间
        /// </summary>
        public DateTime ordertime { get; set; }
        /// <summary>
        /// 验收日期
        /// </summary>
        public DateTime acceptancetime { get; set; }
        /// <summary>
        /// 到期日期
        /// </summary>
        public DateTime orderendtime { get; set; }
        /// <summary>
        /// 质保期
        /// </summary>
        public string guarantee_period { get; set; }
        /// <summary>
        /// 是否到期
        /// </summary>
        public int isend { get; set; }
        /// <summary>
        /// 项目金额（万元）
        /// </summary>
        public string project_amount { get; set; }
       
        public string project_typeid { get; set; }
        /// <summary>
        /// 设备厂家/中间件
        /// </summary>
        public string oem_name { get; set; }
        /// <summary>
        /// 授权内容
        /// </summary>
        public string content { get; set; }
        /// <summary>
        /// 售后服务内容
        /// </summary>
        public string servicecontent { 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; }

        //------------------项目负责人信息---------------------------------
        /// <summary>
        /// 项目负责人名称
        /// </summary>
        public string project_cusname { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string project_mobilephone { get; set; }
        /// <summary>
        /// 固话号码
        /// </summary>
        public string project_telephone { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string project_address { get; set; }

        //------------------添加潜在客户相关字段---------------------------------
        /// <summary>
        /// 客户部门
        /// </summary>
        public string customerdept { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string customeremail { get; set; }

        /// <summary>
        /// 客户类型：签约客户和潜在客户
        /// </summary>
        public string customertype { get; set; }

        /// <summary>
        /// 最新跟进时间
        /// </summary>
        public DateTime followtime { get; set; }

        /// <summary>
        /// 最新跟进内容
        /// </summary>
        public string followcontent { get; set; }

        
        /// <summary>
        /// 项目类型
        /// </summary>
        public string project_type { get; set; }

        /// <summary>
        /// 附件
        /// </summary>
        public List<FileBaseModel> attachment { get; set; }
    }
}
