package com.yami.shop.bean.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * TODO
 *
 * @author mr wang
 * @version 1.0.0
 * @since 2025-09-29
 */
@Data
public class TzTransportDto {
    /**
     * 运费模板id
     */
    @ApiModelProperty(value = "运费模板id", required = true)
    private Long transportId;

    /**
     * 运费模板名称
     */

    @ApiModelProperty(value = "运费模板名称", required = true)
    private String transName;


    @ApiModelProperty(value = "重量限制", required = true)
    private Double weight;

    @ApiModelProperty(value = "费用（元/20kg）", required = true)
    private BigDecimal freightFee;

    @ApiModelProperty(value = "渠道ID", required = true)
    private Integer channelId;

    /**
     * 创建时间
     */

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

    /**
     * 店铺id
     */

    @ApiModelProperty(value = "店铺id", required = true)
    private Long shopId;

    @ApiModelProperty(value = "配送距离", required = true)
    private Double distance;

    @ApiModelProperty(value = "订单需要满多少", required = true)
    private Double amount;

    @ApiModelProperty(value = "配送费", required = true)
    private Double piece;

    private Double targetDistance;

}
