package com.xhpc.order.dto;

import lombok.Data;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 费率时段
 *
 * @author yuyang
 * @Date 2025-12-18 10:05
 */
@Data
public class XhpcRateTimeYuDto {
    /** 费率时段id */
    @Column(name = "rate_time_id")
    private Long rateTimeId;

    /** 电站id */
    @Column(name = "charging_station_id")
    private Long chargingStationId;

    /** 费率id */
    @Column(name = "rate_id")
    private Long rateId;

    /** 启始时间 */
    @Column(name = "start_time")
    private Date startTime;

    /** 结束时间 */
    @Column(name = "end_time")
    private Date endTime;

    @Column(name = "power_fee")
    private BigDecimal powerFee;

    @Column(name = "service_fee")
    private BigDecimal serviceFee;

    /** 状态（0正常 1停用） */
    @Column(name = "status")
    private Integer status;

    /** 状态（0正常 1停用） */
    @Column(name = "del_flag")
    private Integer delFlag;

    /** 计费模型id */
    @Column(name = "rate_model_id")
    private Long rateModelId;

    /** 时间排序有小到大 */
    @Column(name = "sort")
    private Integer sort;

    /** 1 设置时间段  2默认时间段 */
    @Column(name = "type")
    private Integer type;

    /** 费率类型 00: 尖费率 01: 峰费率 02: 平费率 03: 谷费率 */
    @Column(name = "rate_value")
    private String rateValue;
    @Column(name = "policy_code")
    private String policyCode;
    @Column(name = "policy_name")
    private String policyName;

}
