KKSU
2025-02-08 d2e20554025955f4c8e831d1969ca060997aaf71
src/main/java/cc/mrbird/febs/mall/vo/OrderDetailVo.java
@@ -1,6 +1,5 @@
package cc.mrbird.febs.mall.vo;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@@ -28,6 +27,10 @@
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date orderTime;
    @ApiModelProperty(value = "支付状态 1-支付成功 0-未支付")
    private String payResult;
    @ApiModelProperty(value = "支付方式")
    private String payMethod;
@@ -39,6 +42,12 @@
    @ApiModelProperty(value = "订单金额")
    private BigDecimal amount;
    @ApiModelProperty(value = "送货上门经度")
    private Double longitude;
    @ApiModelProperty(value = "送货上门纬度")
    private Double latitude;
    @ApiModelProperty(value = "收货人姓名")
    private String name;
@@ -66,6 +75,9 @@
    @ApiModelProperty(value = "运费")
    private BigDecimal carriage;
    @ApiModelProperty(value = "备注")
    private String remark;
    public Integer getPayMethodType() {
        if (this.payMethod == null) {
@@ -107,9 +119,16 @@
    private String addressArea;
    @ApiModelProperty(value = "自提点详细地址")
    private String detailAddress;
    @ApiModelProperty(value = "自提点经度")
    private Double leaderLongitude;
    @ApiModelProperty(value = "自提点纬度")
    private Double leaderLatitude;
    @ApiModelProperty(value = "配送状态 1:待配送 2:配送中 3:已送达")
    private Integer deliveryState;
    @ApiModelProperty(value = "是否送货上门  1:是 2:否")
    private Integer isHome;
    @ApiModelProperty(value = "是否赠送 1-是 2-否")
    private Integer isFree;
}