|
@@ -0,0 +1,89 @@
|
|
|
+package com.yh.saas.plugin.yiliangyiyun.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.activerecord.Model;
|
|
|
+import java.io.Serializable;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotations.TableId;
|
|
|
+import com.baomidou.mybatisplus.annotations.TableName;
|
|
|
+import com.baomidou.mybatisplus.annotations.Version;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.enums.IdType;
|
|
|
+import com.yh.saas.common.support.entity.BaseModel;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
+import lombok.experimental.Accessors;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <p>
|
|
|
+ *
|
|
|
+ * </p>
|
|
|
+ *
|
|
|
+ * @author Gongdc
|
|
|
+ * @since 2021-07-12
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@EqualsAndHashCode(callSuper = true)
|
|
|
+@Accessors(chain = true)
|
|
|
+@TableName("common_user")
|
|
|
+public class CommonUser extends BaseModel<CommonUser> {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ @TableId(type = IdType.UUID)
|
|
|
+ private String id;
|
|
|
+ /**
|
|
|
+ * 手机号
|
|
|
+ */
|
|
|
+ private String phone;
|
|
|
+ /**
|
|
|
+ * 密码
|
|
|
+ */
|
|
|
+ private String password;
|
|
|
+ /**
|
|
|
+ * 角色ID
|
|
|
+ */
|
|
|
+ private String roleIds;
|
|
|
+ /**
|
|
|
+ * 头像
|
|
|
+ */
|
|
|
+ private String avatarUrl;
|
|
|
+ /**
|
|
|
+ * 用户名
|
|
|
+ */
|
|
|
+ private String userName;
|
|
|
+ /**
|
|
|
+ * 状态:1 正常 0 冻结
|
|
|
+ */
|
|
|
+ private Integer status;
|
|
|
+ /**
|
|
|
+ * 签名图片
|
|
|
+ */
|
|
|
+ private String signImg;
|
|
|
+ /**
|
|
|
+ * 微信号
|
|
|
+ */
|
|
|
+ private String wechatNo;
|
|
|
+ /**
|
|
|
+ * 所属公司ID
|
|
|
+ */
|
|
|
+ private Long companyId;
|
|
|
+ /**
|
|
|
+ * 登录token
|
|
|
+ */
|
|
|
+ private String accessToken;
|
|
|
+ /**
|
|
|
+ * 粮信userID
|
|
|
+ */
|
|
|
+ private String liangxinId;
|
|
|
+ /**
|
|
|
+ * 推送id
|
|
|
+ */
|
|
|
+ private String cid;
|
|
|
+
|
|
|
+
|
|
|
+ @Override
|
|
|
+ protected Serializable pkVal() {
|
|
|
+ return this.id;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|