package com.ruoyi.system.domain.flash;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

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

/** 某一种闪送服务在指定时间段内立即生效的运价配置。 */
@Data
@TableName("flash_delivery_pricing")
public class FlashDeliveryPricing {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String startTime;
    private String endTime;
    private BigDecimal startingDistance;
    private Long startingFare;
    private BigDecimal distance;
    private Long freight;
    private BigDecimal urgentRate;
    private Long minimumUrgentFee;
    /** 管理员并发更新使用的乐观版本号。 */
    private Integer configVersion;
    private Long updatedBy;
    private Date createTime;
    private Date updateTime;
}
