package com.yuchen.saas.parking.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

import java.math.BigDecimal;

/**
 * @author 刘通
 * @version 1.0
 * @date 2021/4/17 17:10
 */
@Data
@TableName("pmg_config_period_dto")
@Accessors(chain = true)
@ApiModel(value = "时间段配置表", description = "时间段配置表")
public class PmgConfigPeriodDto extends TenantEntity {
	@ApiModelProperty(value = "收费规则ID")
	private String ruleId;

	@ApiModelProperty(value = "开始时段（单位：分钟）")
	private Long startTime;

	@ApiModelProperty(value = "结束时段（单位：分钟）")
	private Long endTime;

	@ApiModelProperty(value = "收费金额")
	private BigDecimal fee;

	@ApiModelProperty(value = "最小跨度时间   (单位:分钟)")
	private Long minInterval;

	@ApiModelProperty(value = "结单位时长（单位：分钟）")
	private Long costUnit;

}
