package com.caliverse.admin.Indicators.entity;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

@Getter
@Setter
@Document(collection = "capacity")
public class DBCapacityInfo extends LogInfoBase{
    private String logDay;
    private String namespace;
    private Long consumeReadTotal;
    private Long consumeWriteTotal;

    public DBCapacityInfo(String logDay, String namespace, Long consumeReadTotal, Long consumeWriteTotal) {
        super(StatisticsType.CAPACITY);

        this.logDay = logDay;
        this.namespace = namespace;
        this.consumeReadTotal = consumeReadTotal;
        this.consumeWriteTotal = consumeWriteTotal;
    }

}
