登录
This commit is contained in:
@ -140,5 +140,10 @@ public class Constants
|
||||
/**
|
||||
* 包工头用户标志 前缀
|
||||
*/
|
||||
public static final String BGT = "bgt_:";
|
||||
public static final String BGT = "bgt_";
|
||||
|
||||
/**
|
||||
* 务工者用户标志 前缀
|
||||
*/
|
||||
public static final String WGZ = "wgz_";
|
||||
}
|
||||
|
@ -1,9 +1,6 @@
|
||||
package com.ruoyi.common.core.domain.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
@ -31,8 +28,8 @@ public class BgtUser implements Serializable {
|
||||
|
||||
/** 主键ID */
|
||||
@ApiModelProperty("主键ID")
|
||||
@TableId(value = "id")
|
||||
private String id;
|
||||
@TableId(value = "id",type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/** 唯一标识 */
|
||||
@Excel(name = "唯一标识")
|
||||
|
@ -35,4 +35,9 @@ public class BgtLoginBody
|
||||
*/
|
||||
private String uuid = "";
|
||||
|
||||
/**
|
||||
* 用户类型前缀
|
||||
*/
|
||||
private String userTypePrefix;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user