forked from yoone/API
feat(实体): 在字典项实体中新增描述字段并调整字段顺序
添加 description 字段以支持字典项描述信息 将 shortName 字段调整至与其他字段更合理的顺序
This commit is contained in:
parent
28fb8e4ce6
commit
58ae594d5e
|
|
@ -34,16 +34,19 @@ export class DictItem {
|
|||
@Column({ comment: '字典唯一标识名称' })
|
||||
name: string;
|
||||
|
||||
@Column({ nullable: true, comment: '简称' })
|
||||
shortName: string;
|
||||
|
||||
@Column({ nullable: true, comment: '字典项描述' })
|
||||
description?: string
|
||||
|
||||
// 字典项值
|
||||
@Column({ nullable: true, comment: '字典项值' })
|
||||
value?: string;
|
||||
|
||||
@Column({ nullable: true, comment: '图片' })
|
||||
image: string;
|
||||
|
||||
@Column({ nullable: true, comment: '简称' })
|
||||
shortName: string;
|
||||
|
||||
|
||||
// 排序
|
||||
@Column({ default: 0, comment: '排序' })
|
||||
sort: number;
|
||||
|
|
|
|||
Loading…
Reference in New Issue