footplate.entity.ts 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. import { Entity, Column } from 'typeorm';
  2. import { BaseModel } from '../../frame/BaseModel';
  3. // 中试平台
  4. @Entity('footplate')
  5. export class Footplate extends BaseModel {
  6. @Column({ type: 'integer', nullable: true, comment: '平台用户id' })
  7. user: number;
  8. @Column({ type: 'character varying', nullable: true, comment: '所属产业' })
  9. industry: string;
  10. @Column({ type: 'character varying', nullable: true, comment: '名称' })
  11. name: string;
  12. @Column({ type: 'character varying', nullable: true, comment: '建设主体' })
  13. build: string;
  14. @Column({ type: 'character varying', nullable: true, comment: '运营主体' })
  15. operate: string;
  16. @Column({ type: 'character varying', nullable: true, comment: '服务产业领域' })
  17. field: string;
  18. @Column({ type: 'jsonb', nullable: true, comment: '所在地区' })
  19. area: Array<any>;
  20. @Column({ type: 'character varying', nullable: true, comment: '地址' })
  21. address: string;
  22. @Column({ type: 'character varying', nullable: true, comment: '联系人' })
  23. contacts: string;
  24. @Column({ type: 'character varying', nullable: true, comment: '联系电话' })
  25. phone: string;
  26. @Column({ type: 'character varying', nullable: true, comment: '简介' })
  27. brief: string;
  28. @Column({ type: 'character varying', nullable: true, comment: '是否使用', default: '0' })
  29. is_use: string;
  30. @Column({ type: 'character varying', nullable: true, comment: '状态', default: '0' })
  31. status: string;
  32. }