package com.boying.entity; import com.boying.common.BaseEntity; import javax.persistence.Entity; import javax.persistence.Table; @Table(name = "dictionary") @Entity public class Dictionary extends BaseEntity { private int type; private String name; public int getType() { return type; } public void setType(int type) { this.type = type; } public String getName() { return name; } public void setName(String name) { this.name = name; } }