com.itxiaoer.commons.demo.entity.User Maven / Gradle / Ivy
package com.itxiaoer.commons.demo.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* @author : liuyk
*/
@Data
@Entity
@Table(name = "SYS_USER")
@NoArgsConstructor
@AllArgsConstructor
public class User {
@Id
@Column(name = "ID")
private String id;
@Column(name = "NAME")
private String name;
@Column(name = "AGE")
private Integer age;
@Column(name = "ADDRESS")
private String address;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy