From a64e8c9d9efb2cd9b9474fd1ad8cc6dd344feb06 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 16 Sep 2021 18:52:54 +0800 Subject: [PATCH] 20210916 --- src/main/java/cc/mrbird/febs/mall/entity/MallMember.java | 27 ++++++++++++++++++++++++++- 1 files changed, 26 insertions(+), 1 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/entity/MallMember.java b/src/main/java/cc/mrbird/febs/mall/entity/MallMember.java index af98c35..41188de 100644 --- a/src/main/java/cc/mrbird/febs/mall/entity/MallMember.java +++ b/src/main/java/cc/mrbird/febs/mall/entity/MallMember.java @@ -1,6 +1,9 @@ package cc.mrbird.febs.mall.entity; import cc.mrbird.febs.common.controller.BaseController; +import cc.mrbird.febs.common.entity.BaseEntity; +import cc.mrbird.febs.common.entity.BaseEntity; +import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; @@ -10,7 +13,7 @@ **/ @Data @TableName("mall_member") -public class MallMember extends BaseController { +public class MallMember extends BaseEntity { private String name; @@ -30,8 +33,30 @@ private String level; + /** + * 账户状态;1-正常 2-禁用 + */ private Integer accountStatus; + /** + * 启用 + */ + public static final Integer ACCOUNT_STATUS_ENABLE = 1; + /** + * 禁用 + */ + public static final Integer ACCOUNT_STATUS_DISABLED = 2; private Integer accountType; + /** + * 正常账号 + */ + public static final Integer ACCOUNT_TYPE_NORMAL = 1; + /** + * 测试账号 + */ + public static final Integer ACCOUNT_TYPE_TEST = 2; + @TableField(exist = false) + private String account; + } -- Gitblit v1.9.1