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

namespace YBDevice.Entity
{
    /// <summary>
    /// 通知日志
    /// </summary>
    [SugarTable("YB_NoticeLogger", TableDescription = "通知日志", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
    public class YB_NoticeLogger
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid Id { get; set; }
        /// <summary>
        /// IP地址
        /// </summary>
        [SugarColumn(ColumnDescription = "来IP地址源", ColumnDataType = "varchar(100)")]
        public string Ip { get; set; }

        /// <summary>
        /// UA信息
        /// </summary>
        [SugarColumn(ColumnDescription = "UA信息", ColumnDataType = "varchar(max)")]
        public string UA { get; set; }

        /// <summary>
        /// 参数额外信息
        /// </summary>
        [SugarColumn(ColumnDescription = "参数额外信息", ColumnDataType = "nvarchar(max)")]
        public string Info { get; set; }
        /// <summary>
        /// 用户信息
        /// </summary>
        [SugarColumn(ColumnDescription = "用户信息", ColumnDataType = "nvarchar(max)")]
        public string UserInfo { get; set; }

        /// <summary>
        /// 来源
        /// </summary>
        [SugarColumn(ColumnDescription = "来源", ColumnDataType ="nvarchar(max)")]
        public string FromInfo { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnDescription = "创建时间")]
        public DateTime CreateTime { get; set; }
    }
}
