parent
cfbb91076d
commit
c0b7556927
@ -0,0 +1,16 @@
|
|||||||
|
package com.internal.dto;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class PriceRule {
|
||||||
|
|
||||||
|
private String cityCode;
|
||||||
|
private String vehicleType;
|
||||||
|
private Double startFare;
|
||||||
|
private int startMile;
|
||||||
|
private double unitPricePerMile;
|
||||||
|
private double unitPricePerMinute;
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package com.taxi.serviceprice.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.internal.dto.PriceRule;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
@Repository
|
||||||
|
public interface PriceRuleMapper extends BaseMapper<PriceRule> {
|
||||||
|
}
|
Loading…
Reference in new issue