UpSoftVersion.java 1.07 KB
package com.xkl.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 用户数据的domain类
 */
@Entity
@Table(name = "xkl_upsoft_version")
public class UpSoftVersion {
    //用户id
    @Id
    @Column(name = "id")
    private long id;

    //版本号
    @Column(name = "version_num")
    private int version_num;

    //版本名称
    @Column(name = "name")
    private String name;

    //版本详情
    @Column(name = "note")
    private String note;

    public long getId() {
        return id;
    }

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

    public int getVersion_num() {
        return version_num;
    }

    public void setVersion_num(int version_num) {
        this.version_num = version_num;
    }

    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;
    }
}