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

/**
 *
 *
 * table ims_kafka_consumer_record
 */
public class KafkaConsumerRecord {
    /**
     *
     *
     * column ims_kafka_consumer_record.id
     *
     * Wed May 13 20:38:59 CST 2020
     */
    private Long id;

    /**
     *
     *
     * column ims_kafka_consumer_record.topic
     *
     * Wed May 13 20:38:59 CST 2020
     */
    private String topic;

    /**
     *
     *
     * column ims_kafka_consumer_record.group_id
     *
     * Wed May 13 20:38:59 CST 2020
     */
    private String groupId;

    /**
     *
     *
     * column ims_kafka_consumer_record.partitions
     *
     * Wed May 13 20:38:59 CST 2020
     */
    private Integer partitions;

    /**
     *
     *
     * column ims_kafka_consumer_record.offset
     *
     * Wed May 13 20:38:59 CST 2020
     */
    private Long offset;

    /**
     *
     *
     * column ims_kafka_consumer_record.create_time
     *
     * Wed May 13 20:38:59 CST 2020
     */
    private Long createTime;

    /**
     *
     *
     * column ims_kafka_consumer_record.serialized_key_size
     *
     * Wed May 13 20:38:59 CST 2020
     */
    private Long serializedKeySize;

    /**
     *
     *
     * column ims_kafka_consumer_record.serialized_value_size
     *
     * Wed May 13 20:38:59 CST 2020
     */
    private Long serializedValueSize;

    /**
     *
     *
     * column ims_kafka_consumer_record.message_key
     *
     * Wed May 13 20:38:59 CST 2020
     */
    private String messageKey;

    /**
     *
     *
     * column ims_kafka_consumer_record.message_body
     *
     * Wed May 13 20:38:59 CST 2020
     */
    private String messageBody;

    /**
     *
     * This method returns the value of the database column ims_kafka_consumer_record.id
     *
     * @return the value of ims_kafka_consumer_record.id
     *
     * Wed May 13 20:38:59 CST 2020
     */
    public Long getId() {
        return id;
    }

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

    /**
     *
     * This method returns the value of the database column ims_kafka_consumer_record.topic
     *
     * @return the value of ims_kafka_consumer_record.topic
     *
     * Wed May 13 20:38:59 CST 2020
     */
    public String getTopic() {
        return topic;
    }

    /**
     *
     * This method sets the value of the database column ims_kafka_consumer_record.topic
     *
     * @param topic the value for ims_kafka_consumer_record.topic
     *
     * Wed May 13 20:38:59 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.group_id
     *
     * @return the value of ims_kafka_consumer_record.group_id
     *
     * Wed May 13 20:38:59 CST 2020
     */
    public String getGroupId() {
        return groupId;
    }

    /**
     *
     * This method sets the value of the database column ims_kafka_consumer_record.group_id
     *
     * @param groupId the value for ims_kafka_consumer_record.group_id
     *
     * Wed May 13 20:38:59 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.partitions
     *
     * @return the value of ims_kafka_consumer_record.partitions
     *
     * Wed May 13 20:38:59 CST 2020
     */
    public Integer getPartitions() {
        return partitions;
    }

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

    /**
     *
     * This method returns the value of the database column ims_kafka_consumer_record.offset
     *
     * @return the value of ims_kafka_consumer_record.offset
     *
     * Wed May 13 20:38:59 CST 2020
     */
    public Long getOffset() {
        return offset;
    }

    /**
     *
     * This method sets the value of the database column ims_kafka_consumer_record.offset
     *
     * @param offset the value for ims_kafka_consumer_record.offset
     *
     * Wed May 13 20:38:59 CST 2020
     */
    public void setOffset(Long offset) {
        this.offset = offset;
    }

    /**
     *
     * This method returns the value of the database column ims_kafka_consumer_record.create_time
     *
     * @return the value of ims_kafka_consumer_record.create_time
     *
     * Wed May 13 20:38:59 CST 2020
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     *
     * This method sets the value of the database column ims_kafka_consumer_record.create_time
     *
     * @param createTime the value for ims_kafka_consumer_record.create_time
     *
     * Wed May 13 20:38:59 CST 2020
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     *
     * This method returns the value of the database column ims_kafka_consumer_record.serialized_key_size
     *
     * @return the value of ims_kafka_consumer_record.serialized_key_size
     *
     * Wed May 13 20:38:59 CST 2020
     */
    public Long getSerializedKeySize() {
        return serializedKeySize;
    }

    /**
     *
     * This method sets the value of the database column ims_kafka_consumer_record.serialized_key_size
     *
     * @param serializedKeySize the value for ims_kafka_consumer_record.serialized_key_size
     *
     * Wed May 13 20:38:59 CST 2020
     */
    public void setSerializedKeySize(Long serializedKeySize) {
        this.serializedKeySize = serializedKeySize;
    }

    /**
     *
     * This method returns the value of the database column ims_kafka_consumer_record.serialized_value_size
     *
     * @return the value of ims_kafka_consumer_record.serialized_value_size
     *
     * Wed May 13 20:38:59 CST 2020
     */
    public Long getSerializedValueSize() {
        return serializedValueSize;
    }

    /**
     *
     * This method sets the value of the database column ims_kafka_consumer_record.serialized_value_size
     *
     * @param serializedValueSize the value for ims_kafka_consumer_record.serialized_value_size
     *
     * Wed May 13 20:38:59 CST 2020
     */
    public void setSerializedValueSize(Long serializedValueSize) {
        this.serializedValueSize = serializedValueSize;
    }

    /**
     *
     * This method returns the value of the database column ims_kafka_consumer_record.message_key
     *
     * @return the value of ims_kafka_consumer_record.message_key
     *
     * Wed May 13 20:38:59 CST 2020
     */
    public String getMessageKey() {
        return messageKey;
    }

    /**
     *
     * This method sets the value of the database column ims_kafka_consumer_record.message_key
     *
     * @param messageKey the value for ims_kafka_consumer_record.message_key
     *
     * Wed May 13 20:38:59 CST 2020
     */
    public void setMessageKey(String messageKey) {
        this.messageKey = messageKey == null ? null : messageKey.trim();
    }

    /**
     *
     * This method returns the value of the database column ims_kafka_consumer_record.message_body
     *
     * @return the value of ims_kafka_consumer_record.message_body
     *
     * Wed May 13 20:38:59 CST 2020
     */
    public String getMessageBody() {
        return messageBody;
    }

    /**
     *
     * This method sets the value of the database column ims_kafka_consumer_record.message_body
     *
     * @param messageBody the value for ims_kafka_consumer_record.message_body
     *
     * Wed May 13 20:38:59 CST 2020
     */
    public void setMessageBody(String messageBody) {
        this.messageBody = messageBody == null ? null : messageBody.trim();
    }
}