All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.gentity.test.test2.TableWithIgnoredCols Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version

package com.github.gentity.test.test2;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "TABLE_WITH_IGNORED_COLS")
public class TableWithIgnoredCols implements Serializable
{

    @Column(name = "FOO")
    protected Long foo;

    public static TableWithIgnoredCols.Builder builder() {
        return new TableWithIgnoredCols.Builder();
    }

    public Long getFoo() {
        return foo;
    }

    public void setFoo(Long foo) {
        this.foo = foo;
    }

    public static class Builder {

        private final TableWithIgnoredCols instance = new TableWithIgnoredCols();

        public TableWithIgnoredCols build() {
            return instance;
        }

        public TableWithIgnoredCols.Builder foo(Long foo) {
            instance.foo = foo;
            return this;
        }

    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy