All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.haoxuer.discover.user.data.entity.UserBind Maven / Gradle / Ivy

There is a newer version: 3.3.18-20230117
Show newest version
package com.haoxuer.discover.user.data.entity;

import com.haoxuer.discover.data.entity.AbstractEntity;
import com.haoxuer.discover.user.data.enums.BindType;
import com.nbsaas.codemake.annotation.FieldConvert;
import com.nbsaas.codemake.annotation.FieldName;
import com.nbsaas.codemake.annotation.SearchItem;
import lombok.Data;

import javax.persistence.*;

/**
 * 用户账号集合
 *
 */
@Data
@Entity
@Table(name = "user_identification")
public class UserBind extends AbstractEntity {


  @SearchItem(label = "用户",name = "user",key = "user.id",classType = "Long",operator = "eq")
  @FieldName
  @FieldConvert
  @ManyToOne(fetch = FetchType.LAZY)
  private UserInfo user;

  private BindType bindType;

  @Column(length = 50)
  private String no;

  private Long loginSize;


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy