package org.tests.model.basic;

import javax.persistence.*;

@Entity
@Table(name = "non_updateprop")
public class MNonUpdPropEntity {

  @Id
  Integer id;

  @Enumerated(EnumType.STRING)
  MNonEnum nonEnum;

  @Column(updatable = false)
  String name;

  String note;

  public Integer getId() {
    return id;
  }

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

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getNote() {
    return note;
  }

  public void setNote(String note) {
    this.note = note;
  }

  public MNonEnum getNonEnum() {
    return nonEnum;
  }

  public void setNonEnum(MNonEnum nonEnum) {
    this.nonEnum = nonEnum;
  }

}
