package com.sckw.order.model.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.sckw.excel.annotation.ExcelContext;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * @desc: TODO
 * @author: yzc
 * @date: 2023-07-26 10:14
 */
@Data
@Accessors(chain = true)
@ExcelContext(fileName = "运需列表信息", sheetName = "运需列表信息")
public class TransportDemandExport implements Serializable {
    @Serial
    private static final long serialVersionUID = -7951209824419422786L;

    @ExcelProperty(value = "状态", index = 0)
    private String statusLabel;

    @ExcelProperty(value = "商品名称", index = 1)
    private String name;

    @ExcelProperty(value = "分类", index = 2)
    private String goodsTypeLabel;

    @ExcelProperty(value = "规格", index = 3)
    private String spec;

    @ExcelProperty(value = "运需单价", index = 4)
    private String price;

    @ExcelProperty(value = "总计划量", index = 5)
    private String amount;

    @ExcelProperty(value = "装货地址", index = 6)
    private String loadAddress;

    @ExcelProperty(value = "卸货地址", index = 7)
    private String unloadAddress;

    @ExcelProperty(value = "截止时间", index = 8)
    private String deadline;

    @ExcelProperty(value = "创建时间", index = 9)
    private String createTime;

    @ExcelProperty(value = "更新时间", index = 10)
    private String updateTime;

    @ExcelProperty(value = "备注", index = 11)
    private String remark;

}
