package com.ruoyi.system.domain.flash;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/** 闪送订单状态变更审计日志。 */
@Data
@TableName("flash_delivery_order_log")
public class FlashDeliveryOrderLog {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long orderId;
    private String fromStatus;
    private String toStatus;
    /** 操作人类型：USER、RIDER、ADMIN 或 SYSTEM。 */
    private String operatorType;
    private Long operatorId;
    private String reason;
    private Date createTime;
}
