Files
klp-oa/klp-ems/src/main/java/com/klp/ems/domain/EmsRateTier.java

66 lines
1.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.klp.ems.domain;
import com.baomidou.mybatisplus.annotation.*;
import com.klp.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
/**
* 梯度费率对象 ems_rate_tier
* 用于支持用量梯度收费0-100度1元/度100-200度1.5元/度
*
* @author Joshi
* @date 2025-12-05
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ems_rate_tier")
public class EmsRateTier extends BaseEntity {
private static final long serialVersionUID = 1L;
/**
* 梯度费率ID
*/
@TableId(value = "tier_id")
private Long tierId;
/**
* 关联费率ID
*/
private Long energyRateId;
/**
* 梯度等级1、2、3...
*/
private Integer tierLevel;
/**
* 最小用量(包含)
*/
private BigDecimal minUsage;
/**
* 最大用量不包含NULL表示无上限
*/
private BigDecimal maxUsage;
/**
* 该梯度的费率
*/
private BigDecimal rate;
/**
* 删除标志0=存在 2=删除)
*/
@TableLogic
private String delFlag;
/**
* 备注
*/
private String remark;
}