using MadRunFabric.Common;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace MadRunFabric.Model.WorkOrderApi
{
    /// <summary>
    /// 客户项目 - 售后管理系统
    /// </summary>
    public class Cus_Customer_ProjectQZ : IBaseModel<string>
    {
        /// <summary>
        /// id
        /// </summary>
        [Key]
        [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
        public string id { get; set; }
       
        //------------------项目联系人---------------------------------
        /// <summary>
        /// 联系人
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string mobilephone { 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 DateTime createtime { get; set; } = DateTime.Now;
        /// <summary>
        /// 创建人工号
        /// </summary>
        public string createuser { get; set; }
        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string createusername { get; set; }
       

        //------------------项目负责人信息---------------------------------
        /// <summary>
        /// 项目负责人名称
        /// </summary>
        public string project_cusname { 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 List<FileBaseModel> attachment { get; set; }
    }
}
