package com.rey.entities;
import com.alibaba.fastjson.annotation.JSONField;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
/**
* Created by psq on 2016/8/16.
*/
@Entity
@Table(name = "q_user_tbl")
public class UserEntity {
private int authorId;
//人员名字
private String authorName;
private int areaId;
private String ifAuthor;
private String areaName;
@Id
@Column(name = "author_id")
@JSONField(name = "authorId")
@GeneratedValue(strategy= GenerationType.IDENTITY)
public int getAuthorId() {
return authorId;
}
public void setAuthorId(int authorId) {
this.authorId = authorId;
}
@Column(name = "author_name")
public String getAuthorName() {
return authorName;
}
public void setAuthorName(String authorName) {
this.authorName = authorName
多表连接中对应的javabean-UserEntity
最新推荐文章于 2023-01-12 09:36:54 发布