会员:增加字段【注册终端】

This commit is contained in:
owen 2023-10-16 14:22:43 +08:00
parent d3385dcb4f
commit 6f08645f61
2 changed files with 7 additions and 0 deletions

1
sql/mysql/member.sql Normal file
View File

@ -0,0 +1 @@
ALTER TABLE member_user ADD COLUMN register_terminal tinyint NULL COMMENT '注册终端' AFTER register_ip;

View File

@ -1,6 +1,7 @@
package cn.iocoder.yudao.module.member.dal.dataobject.user; package cn.iocoder.yudao.module.member.dal.dataobject.user;
import cn.iocoder.yudao.framework.common.enums.CommonStatusEnum; import cn.iocoder.yudao.framework.common.enums.CommonStatusEnum;
import cn.iocoder.yudao.framework.common.enums.TerminalEnum;
import cn.iocoder.yudao.framework.ip.core.Area; import cn.iocoder.yudao.framework.ip.core.Area;
import cn.iocoder.yudao.framework.mybatis.core.type.LongListTypeHandler; import cn.iocoder.yudao.framework.mybatis.core.type.LongListTypeHandler;
import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO; import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;
@ -60,6 +61,11 @@ public class MemberUserDO extends TenantBaseDO {
* 注册 IP * 注册 IP
*/ */
private String registerIp; private String registerIp;
/**
* 注册终端
* 枚举 {@link TerminalEnum}
*/
private Integer registerTerminal;
/** /**
* 最后登录IP * 最后登录IP
*/ */