package cn.iocoder.yudao.module.order.vo.orderGuanlian;

import cn.iocoder.yudao.module.order.vo.order.OrderBackVO;
import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import com.alibaba.excel.annotation.ExcelProperty;
import org.springframework.format.annotation.DateTimeFormat;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
* 订单关联 Response VO
* @author 系统管理员
*/
@Data
@ApiModel("管理后台 - 订单关联 Response VO")
public class OrderGuanlianBackVO {

    @ExcelProperty("主键ID")
    @ApiModelProperty(value = "主键ID", required = true)
    private Long id;

    @ExcelProperty("创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "创建时间", required = true)
    private Date createTime;

    @ExcelProperty("订单id")
    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ExcelProperty("关联订单id")
    @ApiModelProperty(value = "关联订单id")
    private Long relateOrderId;

    @ExcelProperty("关联时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "关联时间")
    private Date addTime;

    @ExcelProperty("创建人")
    @ApiModelProperty(value = "创建人")
    private String creator;

    @ExcelProperty("订单信息")
    @ApiModelProperty(value = "订单信息")
    private OrderBackVO orderBackVO;

}
