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

namespace MaterialTraceability.Entity.UpLoad
{
    /// <summary>
    /// 日志记录
    /// </summary>
    [SugarTable("pro_logrecord")]
    public class LogRecord
    {
        /// <summary>
        /// 主键标识
        /// </summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }

        /// <summary>
        /// 资源编号
        /// </summary>
        [SugarColumn(ColumnName = "resource")]
        public String resource { get; set; }

        /// <summary>
        /// 位置编号
        /// </summary>
        [SugarColumn(ColumnName = "position_id")]
        public int positionId { get; set; }

        /// <summary>
        /// 日志内容
        /// </summary>
        [SugarColumn(ColumnName = "message")]
        public String message { get; set; }
    }
}