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.Areas_FW
{
    /// <summary>
    /// 阜外his系统对接操作记录
    /// </summary>
    public class His_OpeRecords : IBaseModel<string>
    {
        /// <summary>
        /// id
        /// </summary>
        [Key]
        [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
        public string id { get; set; }
        /// <summary>
        /// 请求类型
        /// </summary>
        public string requesttype { get; set; }

        /// <summary>
        /// 请求地址
        /// </summary>
        public string requestaddress { get; set; }

        /// <summary>
        /// 请求参数
        /// </summary>
        public string requestparameter { get; set; }

        /// <summary>
        /// 请求时间
        /// </summary>
        public DateTime requesttime { get; set; } = DateTime.Now;

        /// <summary>
        /// 返回内容
        /// </summary>
        public string backcontent { get; set; }

        /// <summary>
        /// 获取是否成功
        /// </summary>
        public string issuccess { get; set; }
    }
}
