package com.smartgwt.sample.server.dataModel;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Table(name = "T_PRICEMODEL")
public class PriceModel implements Serializable {

    @Id
    @Column(nullable = false)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Basic
    @Column(unique = true, nullable = false, length = 63)
    private String priceModelName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPriceModelName() {
        return priceModelName;
    }

    public void setPriceModelName(String priceModelName) {
        this.priceModelName = priceModelName;
    }

}
