package com.xhpc.evcs.cdjgpc.dto;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.persistence.Column;

/**
 * @author yuyang
 * @date 2023-09-20 14:13
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE,
        setterVisibility = JsonAutoDetect.Visibility.NONE, creatorVisibility = JsonAutoDetect.Visibility.NONE)
@Data
public class CDChargeFeeDetail {

    @JsonProperty("EquipmentType")
    Integer equipmentType;

    @JsonProperty("StartTime")
    String startTime;

    @JsonProperty("EndTime")
    String endTime;

    @Column(columnDefinition = "Decimal(10,2)")
    @JsonProperty("ElectricityFee")
    Double electricityFee;

    @Column(columnDefinition = "Decimal(10,2)")
    @JsonProperty("serviceFee")
    Double serviceFee;
}
