- 添加 .editorconfig 文件统一代码风格 - 添加 .env.development 和 .env.example 环境变量配置 - 添加 .eslintignore 和 .eslintrc.js 代码检查配置 - 添加 .gitignore 版本控制忽略文件配置 - 添加 .prettierignore 代码格式化忽略配置 - 添加隐私协议 HTML 文件 - 添加 accesskey 编辑组件基础结构
132 lines
2.5 KiB
TypeScript
132 lines
2.5 KiB
TypeScript
import type { PageParam } from '@/api';
|
||
|
||
/**
|
||
* 用户表
|
||
*/
|
||
export interface HouseUser {
|
||
// 用户id
|
||
userId?: number;
|
||
// 用户类型,0个人用户 6开发者 10企业
|
||
type?: number;
|
||
// 账号
|
||
username?: string;
|
||
// 密码
|
||
password?: string;
|
||
// 昵称
|
||
nickname?: string;
|
||
// 手机号
|
||
phone?: string;
|
||
// 性别 1男 2女
|
||
sex?: number;
|
||
// 职务
|
||
position?: string;
|
||
// 注册来源客户端 (APP、H5、小程序等)
|
||
platform?: string;
|
||
// 邮箱
|
||
email?: string;
|
||
// 邮箱是否验证, 0否, 1是
|
||
emailVerified?: number;
|
||
// 别名
|
||
alias?: string;
|
||
// 真实姓名
|
||
realName?: string;
|
||
// 单位姓名
|
||
companyName?: string;
|
||
// 证件号码
|
||
idCard?: string;
|
||
// 出生日期
|
||
birthday?: string;
|
||
// 所在国家
|
||
country?: string;
|
||
// 所在省份
|
||
province?: string;
|
||
// 所在城市
|
||
city?: string;
|
||
// 所在辖区
|
||
region?: string;
|
||
// 街道地址
|
||
address?: string;
|
||
// 经度
|
||
longitude?: string;
|
||
// 纬度
|
||
latitude?: string;
|
||
// 用户可用余额
|
||
balance?: string;
|
||
// 用户可用积分
|
||
points?: number;
|
||
// 用户总支付的金额
|
||
payMoney?: string;
|
||
// 实际消费的金额(不含退款)
|
||
expendMoney?: string;
|
||
// 会员等级ID
|
||
gradeId?: number;
|
||
// 个人简介
|
||
introduction?: string;
|
||
// 机构id
|
||
organizationId?: number;
|
||
// 头像
|
||
avatar?: string;
|
||
// 背景图
|
||
bgImage?: string;
|
||
// 企业ID
|
||
companyId?: number;
|
||
// 客户ID
|
||
customerId?: number;
|
||
// 用户编码
|
||
userCode?: string;
|
||
// 是否已实名认证
|
||
certification?: number;
|
||
// 兴趣爱好
|
||
interest?: string;
|
||
// 身高
|
||
height?: string;
|
||
// 体重
|
||
weight?: string;
|
||
// 月薪
|
||
monthlyPay?: string;
|
||
// 学历
|
||
education?: string;
|
||
// 职业
|
||
vocation?: string;
|
||
// 年龄
|
||
age?: number;
|
||
// 是否线下会员
|
||
offline?: string;
|
||
// 关注数
|
||
followers?: number;
|
||
// 粉丝数
|
||
fans?: number;
|
||
// 点赞数
|
||
likes?: number;
|
||
// 评论数
|
||
commentNumbers?: number;
|
||
// 是否推荐
|
||
recommend?: number;
|
||
// 备注
|
||
comments?: string;
|
||
// 状态, 0在线, 1离线
|
||
status?: number;
|
||
// 是否删除, 0否, 1是
|
||
deleted?: number;
|
||
// 商户编码
|
||
merchantCode?: string;
|
||
// 租户id
|
||
tenantId?: number;
|
||
// 最后结算时间
|
||
settlementTime?: string;
|
||
// 注册时间
|
||
createTime?: string;
|
||
// 修改时间
|
||
updateTime?: string;
|
||
// 是否管理员:1是;2否
|
||
isAdmin?: boolean;
|
||
}
|
||
|
||
/**
|
||
* 用户表搜索条件
|
||
*/
|
||
export interface HouseUserParam extends PageParam {
|
||
userId?: number;
|
||
keywords?: string;
|
||
}
|