package com.ruoyi.system.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.GeneratedValue;

/**
 * TaxiPrices对象 taxi_prices
 * 
 * @author ruoyi
 * @date 2024-01-26
 */
@Data
@TableName(value = "taxi_prices")
@EqualsAndHashCode(callSuper = false)
public class TaxiPrices
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @GeneratedValue
    /** id */
    private Long id;

    /** 起步价 */
    @Excel(name = "起步价")
    private Double startingPrice;

    /** 起步距离 */
    @Excel(name = "起步距离")
    private Long startingDistance;

    /** 跳表价 */
    @Excel(name = "跳表价")
    private Double skipPrice;

    /** 跳表距离 */
    @Excel(name = "跳表距离")
    private Long skipDistance;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStartingPrice(Double startingPrice)
    {
        this.startingPrice = startingPrice;
    }

    public Double getStartingPrice()
    {
        return startingPrice;
    }
    public void setStartingDistance(Long startingDistance) 
    {
        this.startingDistance = startingDistance;
    }

    public Long getStartingDistance() 
    {
        return startingDistance;
    }
    public void setSkipPrice(Double skipPrice)
    {
        this.skipPrice = skipPrice;
    }

    public Double getSkipPrice()
    {
        return skipPrice;
    }
    public void setSkipDistance(Long skipDistance) 
    {
        this.skipDistance = skipDistance;
    }

    public Long getSkipDistance() 
    {
        return skipDistance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("startingPrice", getStartingPrice())
            .append("startingDistance", getStartingDistance())
            .append("skipPrice", getSkipPrice())
            .append("skipDistance", getSkipDistance())
            .toString();
    }
}
