package com.ruoyi.bst.suit.domain.vo;

import java.math.BigDecimal;

import javax.validation.constraints.Min;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 套餐区间计费规则
 */
@Data
public class SuitIntervalFeeRule {

    @ApiModelProperty("区间开始时间")
    @Min(value = 0, message = "区间开始时间不能小于0")
    private Integer start;

    @ApiModelProperty("区间结束时间")
    @Min(value = 0, message = "区间结束时间不能小于0")
    private Integer end;

    @ApiModelProperty("计费间隔")
    @Min(value = 1, message = "计费间隔不能小于1")
    private Integer eachUnit;

    @ApiModelProperty("费用")
    @Min(value = 0, message = "费用不能小于0")
    private BigDecimal fee;
}