package com.aircraft.modules.order.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.aircraft.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 订单明细表
 * </p>
 *
 * @author cli
 * @since 2025-07-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("fms_od_order_detail")
public class OrderDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    private Long id;

    /**
     * 订单ID，关联订单表
     */
    private Long orderId;

    /**
     * 飞行设备ID
     */
    private Long deviceId;

    /**
     * 路线ID
     */
    private Long routeId;


    /**
     * 货物重量
     */
    private BigDecimal cargoWeight;

    /**
     * 载人数量
     */
    private String personCount;

    /**
     * 操作员ID
     */
    private Long operatorId;

    /**
     * 订单子单状态
     */
    private Integer orderItemStatus;


}
