diff --git a/src/entity/dict_item.entity.ts b/src/entity/dict_item.entity.ts index ffa6896..544c625 100644 --- a/src/entity/dict_item.entity.ts +++ b/src/entity/dict_item.entity.ts @@ -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;