package com.ylx.order.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ylx.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 类描述：订单状态流转表
 *
 * @author Administrator
 * @version 1.0
 * @date 2026/6/3 10:30
 */
@Data
@TableName(value = "t_order_status_flow", autoResultMap = true)
@ApiModel(value = "OrderStatusFlow", description = "订单状态流转表")
public class OrderStatusFlow extends BaseEntity implements Serializable  {
    private static final long serialVersionUID = 1L;
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("主键")
    private Long id;
    /*
     * 订单id
     */
    @TableField("order_id")
    @ApiModelProperty("订单id")
    private Long orderId;
    /**
     * 流转状态
     */
    @TableField("status")
    @ApiModelProperty("同步订单表状态")
    private Integer status;


}