incubatorYear.entity.ts 1.7 KB

12345678910111213141516171819202122232425262728293031323334
  1. import { Column, Entity } from 'typeorm';
  2. import { BaseModel } from '../../frame/BaseModel';
  3. //孵化基地年度信息
  4. @Entity('incubatorYear', { comment: '孵化基地年度数据' })
  5. export class IncubatorYear extends BaseModel {
  6. @Column({ type: 'integer', nullable: true, comment: '平台用户id' })
  7. user: number;
  8. @Column({ type: 'integer', nullable: true, comment: '孵化器id' })
  9. incubator: number;
  10. @Column({ type: 'character varying', nullable: true, comment: '年度' })
  11. year: string;
  12. @Column({ type: 'character varying', nullable: true, comment: '填写时间' })
  13. time: string;
  14. @Column({ type: 'integer', nullable: true, comment: '活动总数' })
  15. act_num: number;
  16. @Column({ type: 'float', nullable: true, comment: '载体内企业实现收入(万元)' })
  17. income_money: number;
  18. @Column({ type: 'float', nullable: true, comment: '载体内企业利润(万元)' })
  19. profit_money: number;
  20. @Column({ type: 'float', nullable: true, comment: '载体内企业税金(万元)' })
  21. tax_money: number;
  22. @Column({ type: 'float', nullable: true, comment: '载体内企业预计收入(万元)' })
  23. esincome_money: number;
  24. @Column({ type: 'float', nullable: true, comment: '载体内企业预计利润(万元)' })
  25. esprofit_money: number;
  26. @Column({ type: 'float', nullable: true, comment: '载体内企业预计税金(万元)' })
  27. estax_money: number;
  28. @Column({ type: 'text', nullable: true, comment: '获得国家、省、市科技、工信、人社等单位荣誉情况' })
  29. content: string;
  30. @Column({ type: 'character varying', nullable: true, comment: '是否使用', default: '0' })
  31. is_use: string;
  32. @Column({ type: 'character varying', nullable: true, comment: '状态', default: '0' })
  33. status: string;
  34. }