package com.bnade.wow.entity;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 时光徽章
 * Created by liufeng0103@163.com on 2017/6/6.
 */
@Entity(name = "t_wowtoken")
public class WowToken {
    @Id
    private Long updated;

    private Integer buy;

    public Long getUpdated() {
        return updated;
    }

    public void setUpdated(Long updated) {
        this.updated = updated;
    }

    public Integer getBuy() {
        return buy;
    }

    public void setBuy(Integer buy) {
        this.buy = buy;
    }

    @Override
    public String toString() {
        return "WowToken{" +
                "updated=" + updated +
                ", buy=" + buy +
                '}';
    }
}

@@ -161,29 +161,8 @@
 tity
-(name = %22t_wowtoken%22)
 %0Apub
@@ -577,17 +577,17 @@
 urn %22Wow
-T
+t
 oken%7B%22 +

修改WowToken映射的表面，使用默认的wow_token表名