package org.wfc.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import org.wfc.common.mybatis.domain.BaseData;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户平台-计费规则表
 * </p>
 *
 * @author sys
 * @since 2025-01-07
 */
@Getter
@Setter
@TableName("u_bill_rule")
@Schema(name = "UBillRule", description = "用户平台-计费规则表")
public class UBillRule extends BaseData {

    private static final long serialVersionUID = 1L;

    @Schema(description = "价格")
    private BigDecimal price;

    @Schema(description = "流量")
    private Long traffic;

    @Schema(description = "单位")
    private Integer unit;

    @Schema(description = "是否启用")
    private Boolean enable;
}
