master
2022-03-23 3b8d6dc7ac1f52a411671ceb5cabfb995ea3cfe2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { EntityModel } from '@midwayjs/orm';
import { BaseEntity } from '@cool-midway/core';
import { Column } from 'typeorm';
 
/**
 * 文件空间信息
 */
@EntityModel('t_app_space_info')
export class BaseAppSpaceInfoEntity extends BaseEntity {
  @Column({ comment: '地址' })
  url: string;
 
  @Column({ comment: '类型' })
  type: string;
 
  @Column({ comment: '分类ID', type: 'bigint', nullable: true })
  classifyId: number;
}