package com.utic.center.utic.stat.server.service.partition;

import com.utic.center.utic.stat.server.dao.repository.dwdb.UticStatTableManagerRepository;
import lombok.Getter;

@Getter
public abstract class MakeTablePartition {

    protected final UticStatTableManagerRepository repo;
    protected final String crtMonth;
    protected final String commentCrtMonth;

    public MakeTablePartition(UticStatTableManagerRepository repo,
                              String crtMonth,
                              String commentCrtMonth) {
        this.repo = repo;
        this.crtMonth = crtMonth;
        this.commentCrtMonth = commentCrtMonth;
    }

    public abstract boolean createPartitionTable();

}
