package cn.superdesk.uniorder.dao.entity.kafka;

/**
 *
 *
 * table ims_kafka_consumer_record_offset
 */
public class KafkaConsumerRecordOffset {
    /**
     *
     *
     * column ims_kafka_consumer_record_offset.id
     *
     * Wed May 13 22:01:24 CST 2020
     */
    private Long id;

    /**
     *
     *
     * column ims_kafka_consumer_record_offset.topic
     *
     * Wed May 13 22:01:24 CST 2020
     */
    private String topic;

    /**
     *
     *
     * column ims_kafka_consumer_record_offset.group_id
     *
     * Wed May 13 22:01:24 CST 2020
     */
    private String groupId;

    /**
     *
     *
     * column ims_kafka_consumer_record_offset.partitions
     *
     * Wed May 13 22:01:24 CST 2020
     */
    private Integer partitions;

    /**
     *
     *
     * column ims_kafka_consumer_record_offset.offset_from
     *
     * Wed May 13 22:01:24 CST 2020
     */
    private Long offsetFrom;

    /**
     *
     *
     * column ims_kafka_consumer_record_offset.offset_until
     *
     * Wed May 13 22:01:24 CST 2020
     */
    private Long offsetUntil;

    /**
     *
     * This method returns the value of the database column ims_kafka_consumer_record_offset.id
     *
     * @return the value of ims_kafka_consumer_record_offset.id
     *
     * Wed May 13 22:01:24 CST 2020
     */
    public Long getId() {
        return id;
    }

    /**
     *
     * This method sets the value of the database column ims_kafka_consumer_record_offset.id
     *
     * @param id the value for ims_kafka_consumer_record_offset.id
     *
     * Wed May 13 22:01:24 CST 2020
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     *
     * This method returns the value of the database column ims_kafka_consumer_record_offset.topic
     *
     * @return the value of ims_kafka_consumer_record_offset.topic
     *
     * Wed May 13 22:01:24 CST 2020
     */
    public String getTopic() {
        return topic;
    }

    /**
     *
     * This method sets the value of the database column ims_kafka_consumer_record_offset.topic
     *
     * @param topic the value for ims_kafka_consumer_record_offset.topic
     *
     * Wed May 13 22:01:24 CST 2020
     */
    public void setTopic(String topic) {
        this.topic = topic == null ? null : topic.trim();
    }

    /**
     *
     * This method returns the value of the database column ims_kafka_consumer_record_offset.group_id
     *
     * @return the value of ims_kafka_consumer_record_offset.group_id
     *
     * Wed May 13 22:01:24 CST 2020
     */
    public String getGroupId() {
        return groupId;
    }

    /**
     *
     * This method sets the value of the database column ims_kafka_consumer_record_offset.group_id
     *
     * @param groupId the value for ims_kafka_consumer_record_offset.group_id
     *
     * Wed May 13 22:01:24 CST 2020
     */
    public void setGroupId(String groupId) {
        this.groupId = groupId == null ? null : groupId.trim();
    }

    /**
     *
     * This method returns the value of the database column ims_kafka_consumer_record_offset.partitions
     *
     * @return the value of ims_kafka_consumer_record_offset.partitions
     *
     * Wed May 13 22:01:24 CST 2020
     */
    public Integer getPartitions() {
        return partitions;
    }

    /**
     *
     * This method sets the value of the database column ims_kafka_consumer_record_offset.partitions
     *
     * @param partitions the value for ims_kafka_consumer_record_offset.partitions
     *
     * Wed May 13 22:01:24 CST 2020
     */
    public void setPartitions(Integer partitions) {
        this.partitions = partitions;
    }

    /**
     *
     * This method returns the value of the database column ims_kafka_consumer_record_offset.offset_from
     *
     * @return the value of ims_kafka_consumer_record_offset.offset_from
     *
     * Wed May 13 22:01:24 CST 2020
     */
    public Long getOffsetFrom() {
        return offsetFrom;
    }

    /**
     *
     * This method sets the value of the database column ims_kafka_consumer_record_offset.offset_from
     *
     * @param offsetFrom the value for ims_kafka_consumer_record_offset.offset_from
     *
     * Wed May 13 22:01:24 CST 2020
     */
    public void setOffsetFrom(Long offsetFrom) {
        this.offsetFrom = offsetFrom;
    }

    /**
     *
     * This method returns the value of the database column ims_kafka_consumer_record_offset.offset_until
     *
     * @return the value of ims_kafka_consumer_record_offset.offset_until
     *
     * Wed May 13 22:01:24 CST 2020
     */
    public Long getOffsetUntil() {
        return offsetUntil;
    }

    /**
     *
     * This method sets the value of the database column ims_kafka_consumer_record_offset.offset_until
     *
     * @param offsetUntil the value for ims_kafka_consumer_record_offset.offset_until
     *
     * Wed May 13 22:01:24 CST 2020
     */
    public void setOffsetUntil(Long offsetUntil) {
        this.offsetUntil = offsetUntil;
    }
}