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
{
    public class Cus_FollowRecord : IBaseModel<string>
    {
        /// <summary>
        /// id
        /// </summary>
        [Key]
        [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
        public string id { get; set; }

        /// <summary>
        /// 跟进内容
        /// </summary>
        public string content { get; set; }

        /// <summary>
        /// 跟进人
        /// </summary>
        public string createName { get; set; }

        /// <summary>
        /// 跟进时间
        /// </summary>
        public DateTime createTime { get; set; } = DateTime.Now.ToLocalTime();

        /// <summary>
        /// 跟进项目id
        /// </summary>
        public string proid { get; set; }
    }
}
