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

namespace MadRunFabric.Model
{
    public class Chat_Process : IBaseModel<string>
    {
        /// <summary>
        /// id
        /// </summary>
        [Key]
        [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
        public string id { get; set; }
        /// <summary>
        /// 步骤
        /// </summary>
        public int step { get; set; }
        /// <summary>
        /// 回复内容
        /// </summary>
        public string content { get; set; }
        /// <summary>
        /// 选项类型（0：无，1：字典选项，2：手输选项）
        /// </summary>
        public int optiontype { get; set; }
        /// <summary>
        /// 字典项
        /// </summary>
        public string dictionarycode { get; set; }

        /// <summary>
        /// 选择项
        /// </summary>
        public List<string> options { get; set; }

        /// <summary>
        /// 添加人
        /// </summary>
        public string createuser { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime createtime { get; set; } = DateTime.Now;
        /// <summary>
        /// 是否删除(0正常1删除)
        /// </summary>
        public int isdelete { get; set; } = 0;
        /// <summary>
        /// 删除人
        /// </summary>
        public string deleteuser { get; set; }
        /// <summary>
        /// 删除日期
        /// </summary>
        public DateTime? deletetime { get; set; }
    }
}
