using System;
using SqlSugar;

namespace MDL.Models
{
    /// <summary>
    /// 订单日志实体类
    /// </summary>
    [SugarTable("order_logs")]
    public class OrderLogEntity
    {
        /// <summary>
        /// 主键ID，自增
        /// </summary>
        public long Id { get; set; }
        
        /// <summary>
        /// 中性面单单号
        /// </summary>
        public string? NeutralWaybillNumber { get; set; }
        
        /// <summary>
        /// 尾程跟踪单号
        /// </summary>
        public string? FinalMileTrackingNumber { get; set; }
        
        /// <summary>
        /// 操作类型（换单、集包、数据更新、下单、取消订单等）
        /// </summary>
        public string OperationType { get; set; }
        
        /// <summary>
        /// 操作结果（成功、失败）
        /// </summary>
        public string OperationResult { get; set; }
        
        /// <summary>
        /// 操作说明（详细描述操作内容）
        /// </summary>
        public string OperationDescription { get; set; }
        
        /// <summary>
        /// 操作人
        /// </summary>
        public string? Operator { get; set; }
        
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime CreatedAt { get; set; }
    }
}
