xuanyan 3 жил өмнө
parent
commit
4957032d7f

+ 82 - 0
smart-city-grid-yinchuan-server/src/main/java/org/springblade/third/auth/entity/AccountOauth.java

@@ -0,0 +1,82 @@
+/*
+ *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: Chill 庄骞 (smallchill@163.com)
+ */
+package org.springblade.third.auth.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import org.springblade.core.mp.base.BaseEntity;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+/**
+ * 账户角色关系表实体类
+ *
+ * @author BladeX
+ * @since 2022-09-30
+ */
+@Data
+@TableName("yc_account_oauth")
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value = "AccountOauth对象", description = "账户角色关系表")
+public class AccountOauth extends BaseEntity {
+
+	private static final long serialVersionUID = 1L;
+
+	/**
+	* 第三方系统用户ID
+	*/
+		@ApiModelProperty(value = "第三方系统用户ID")
+		private String uuid;
+	/**
+	* 系统用户ID
+	*/
+		@ApiModelProperty(value = "系统用户ID")
+		private Long accountId;
+	/**
+	* 账号名,一般是手机号
+	*/
+		@ApiModelProperty(value = "账号名,一般是手机号")
+		private String userName;
+	/**
+	* 用户名
+	*/
+		@ApiModelProperty(value = "用户名")
+		private String nickName;
+	/**
+	* 头像
+	*/
+		@ApiModelProperty(value = "头像")
+		private String avatar;
+	/**
+	* 邮件
+	*/
+		@ApiModelProperty(value = "邮件")
+		private String email;
+	/**
+	* 备注
+	*/
+		@ApiModelProperty(value = "备注")
+		private String mobile;
+	/**
+	* 来源
+	*/
+		@ApiModelProperty(value = "来源")
+		private String source;
+
+
+}