/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.yf.kp.model; import com.yf.kp.model.base.BaseModel; import java.util.List; import javax.persistence.Entity; import javax.persistence.OneToMany; import javax.persistence.Table; /** * * @author anonymous */ @Entity @Table(name = "kelas") public class Kelas extends BaseModel { private String nama_kelas; public Kelas() { } public Kelas(String nama_kelas) { this.nama_kelas = nama_kelas; } public String getNama_kelas() { return nama_kelas; } public void setNama_kelas(String nama_kelas) { this.nama_kelas = nama_kelas; } }