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

import com.utic.center.utic.traf.server.dao.repository.dwdb.DwdbTableManagerRepository;
import lombok.Getter;

@Getter
public abstract class MakeTablePartition {

    protected final DwdbTableManagerRepository repo;
    protected final String crtMonth;
    protected final String commentCrtMonth;

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

    public abstract boolean createPartitionTable();

}
