package org.dromara.system.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 分成比例区间返回对象 commission_section
 * @author 86132
 */
@Data
@Schema(name = "CommissionSectionVo", description = "分成比例区间返回对象")
public class CommissionSectionVo {
    /** 主键 */
    @Schema(description = "主键")
    private Integer id;

    /** 所属模板ID */
    @Schema(description = "所属模板ID")
    private Integer templateId;

    /** 区间下限 */
    @Schema(description = "区间下限")
    private BigDecimal minAmount;

    /** 区间上限 */
    @Schema(description = "区间上限")
    private BigDecimal maxAmount;

    /** 分成比例 */
    @Schema(description = "分成比例")
    private BigDecimal rate;

    /** 区间名称 */
    @Schema(description = "名称")
    private String rateName;

    /** 创建时间 */
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
