修改下划线分隔的字段
This commit is contained in:
@@ -4,6 +4,6 @@ export default interface HitokotoModel {
|
||||
type: string
|
||||
from: string
|
||||
creator: string
|
||||
created_at: Date
|
||||
createdAt: Date
|
||||
number: number
|
||||
}
|
||||
@@ -7,8 +7,8 @@ export interface MusicModel {
|
||||
title?: string // 标题
|
||||
album?: string // 唱片集
|
||||
artist?: string // 艺术家
|
||||
lib_id: string // 歌单ID
|
||||
lyric_id: string // 歌词ID
|
||||
libId: string // 歌单ID
|
||||
lyricId: string // 歌词ID
|
||||
isEditing?: boolean // 是否正在编辑当前行
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ export interface MusicLibModel {
|
||||
|
||||
export interface MusicLyricModel {
|
||||
_id?: string
|
||||
cloud_id?: number
|
||||
cloudId?: number
|
||||
name?: string
|
||||
lyric?: string
|
||||
}
|
||||
|
||||
@@ -5,5 +5,5 @@ export interface SourceImageModel {
|
||||
size: number // 图片大小
|
||||
label: string[] // 图片标签
|
||||
img: ArrayBuffer // 图片二进制数据
|
||||
created_at: Date
|
||||
createdAt: Date
|
||||
}
|
||||
|
||||
@@ -6,9 +6,9 @@ export interface ArticleModel {
|
||||
categories: string[] //分类
|
||||
tags: string[] // 标签
|
||||
title: string // 标题
|
||||
create_date: Date // 文章发布日期
|
||||
content_len: number // 正文长度
|
||||
is_splited: boolean // 是否分词
|
||||
createDate: Date // 文章发布日期
|
||||
contentLen: number // 正文长度
|
||||
isSplited: boolean // 是否分词
|
||||
}
|
||||
|
||||
export interface TreeNodeData {
|
||||
@@ -22,5 +22,5 @@ export interface TreeNodeData {
|
||||
export interface TreeNodeSource {
|
||||
_id: string
|
||||
cnt: number
|
||||
article_id: string | null
|
||||
articleId: string | null
|
||||
}
|
||||
@@ -3,7 +3,7 @@ export interface SystemConfigModel {
|
||||
name: string // 配置项名称
|
||||
value: object | string // 配置项内容
|
||||
description: string // 描述
|
||||
is_public: boolean // 是否公开
|
||||
created_at?: Date // 创建时间
|
||||
updated_at?: Date // 更新时间
|
||||
isPublic: boolean // 是否公开
|
||||
createdAt?: Date // 创建时间
|
||||
updatedAt?: Date // 更新时间
|
||||
}
|
||||
@@ -3,8 +3,8 @@ export interface SystemRoleModel {
|
||||
name: string | null // 角色名称
|
||||
description: string | null // 描述
|
||||
methods: string[] // 允许的请求类型(优先级3)
|
||||
include_uri: string[] // 包含的URI(优先级2)
|
||||
exclude_uri: string[] // 排除的URI(优先级1)
|
||||
created_at?: Date // 创建时间
|
||||
updated_at?: Date // 更新时间
|
||||
includeUri: string[] // 包含的URI(优先级2)
|
||||
excludeUri: string[] // 排除的URI(优先级1)
|
||||
createdAt?: Date // 创建时间
|
||||
updatedAt?: Date // 更新时间
|
||||
}
|
||||
@@ -3,7 +3,7 @@ export interface SystemUserModel {
|
||||
username: string | null
|
||||
password: string | null
|
||||
realname: string | null
|
||||
role_ids: string[]
|
||||
created_at?: Date
|
||||
updated_at?: Date
|
||||
roleIds: string[]
|
||||
createdAt?: Date
|
||||
updatedAt?: Date
|
||||
}
|
||||
Reference in New Issue
Block a user