chengf
2026-03-11 b88a288f4f787b509463678e3cd9ccfa3f37014b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package com.java110.dto.fee;
 
import java.io.Serializable;
import java.math.BigDecimal;
 
/**
 * 临时车费用结果
 */
public class TempCarFeeResult implements Serializable {
 
    public TempCarFeeResult(String carNum, Double payCharge, Double maxMoney, Double baseMoney) {
        this.carNum = carNum;
        this.payCharge = payCharge;
        if (maxMoney < payCharge) {
            this.payCharge = maxMoney;
        }
        this.payCharge = new BigDecimal(this.payCharge).add(new BigDecimal(baseMoney)).doubleValue();
    }
 
    private String carNum;
 
    private Double payCharge;
 
    private long hours;
 
    private long min;
 
    public String getCarNum() {
        return carNum;
    }
 
    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }
 
    public Double getPayCharge() {
        return payCharge;
    }
 
    public void setPayCharge(Double payCharge) {
        this.payCharge = payCharge;
    }
 
    public long getMin() {
        return min;
    }
 
    public void setMin(long min) {
        this.min = min;
    }
 
    public long getHours() {
        return hours;
    }
 
    public void setHours(long hours) {
        this.hours = hours;
    }
}