package com.izouma.nineth.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@ApiModel("元宇宙内测用户")
public class MetaUser extends BaseEntityNoID {

    @ApiModelProperty("用户手机号")
    @Id
    private Long phone;

    @ApiModelProperty("是否允许登陆")
    private boolean allowLogin;
}
