using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenAuth.Repository.Domain
{
    /// <summary>
    /// 日 期：2024.09.19
    /// 描 述：推送日志
    /// </summary>
    [SugarTable("drone_caseinfo_pushlog")]
    public class DroneCaseinfoPushLog
    {
        /// <summary>
        /// 列主键
        /// </summary>
        /// <returns></returns>
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }
        /// <summary>
        /// 推送时间
        /// </summary>
        /// <returns></returns>
        public DateTime PushTime { get; set; }
        /// <summary>
        /// 推送到哪个数据库名称
        /// </summary>
        /// <returns></returns>
        public string DatabaseName { get; set; }
        /// <summary>
        /// 推送的参数
        /// </summary>
        /// <returns></returns>
        public string Data { get; set; }
        /// <summary>
        /// 是否推送成功
        /// </summary>
        /// <returns></returns>
        public bool IsSuccess { get; set; }

        /// <summary>
        /// 类型（1数据  2图片)
        /// </summary>
        /// <returns></returns>
        public int? Type { get; set; }

        /// <summary>
        /// 推送数据库id
        /// </summary>
        /// <returns></returns>
        public string DataBaseId { get; set; }

        /// <summary>
        /// 专题名称
        /// </summary>
        /// <returns></returns>
        public string SubjectName { get; set; }
    }
}
