com.quhaodian.user.data.entity.UserLabel Maven / Gradle / Ivy
package com.quhaodian.user.data.entity;
import com.quhaodian.data.entity.AbstractEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
* 用户标签
*/
@Entity
@Table(name = "user_label")
public class UserLabel extends AbstractEntity {
@Column(unique = true)
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}