package org.dromara.system.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.system.domain.TblGoodsOrder;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 寄货订单视图对象 tbl_goods_order
 *
 * @author Lion Li
 * @date 2024-04-01
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TblGoodsOrder.class)
public class TblGoodsOrderVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @ExcelProperty(value = "编号")
    private Long id;

    /**
     * 订单号
     */
    @ExcelProperty(value = "订单号")
    private String orderId;

    /**
     * 货主
     */
    @ExcelProperty(value = "货主")
    private Long fromUserId;

    /**
     * 货物类型
     */
    @ExcelProperty(value = "货物类型")
    private Long goodsType;

    /**
     * 0-待支付 1-待上车 2-运输中 3-完成 4-取消
     */
    @ExcelProperty(value = "0-待支付 1-待上车 2-运输中 3-完成 4-取消")
    private Long status;

    /**
     * 出发地
     */
    @ExcelProperty(value = "出发地")
    private String fromAddr;

    /**
     * 出发时间
     */
    @ExcelProperty(value = "出发时间")
    private Date gotime;

    /**
     * 货物重量
     */
    @ExcelProperty(value = "货物重量")
    private String goodsWeight;

    /**
     * 目的地
     */
    @ExcelProperty(value = "目的地")
    private String toAddr;

    /**
     * 1-线下支付 2-微信支付
     */
    @ExcelProperty(value = "1-线下支付 2-微信支付")
    private String payType;

    /**
     * 货物描述
     */
    @ExcelProperty(value = "货物描述")
    private String goodsDes;

    /**
     * 扩展1
     */
    @ExcelProperty(value = "扩展1")
    private String ext1;

    /**
     * 扩展2
     */
    @ExcelProperty(value = "扩展2")
    private String ext2;


    private Date createTime;


}
