123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- import { Entity, Column } from 'typeorm';
- import { BaseModel } from '../../frame/BaseModel';
- // 需求
- @Entity('demand')
- export class Demand extends BaseModel {
- @Column({ type: 'integer', nullable: true, comment: '平台用户id' })
- user: number;
- @Column({ type: 'jsonb', nullable: true, comment: '标签' })
- tags: Array<any>;
- @Column({ type: 'character varying', nullable: true, comment: '名称' })
- name: string;
- @Column({ type: 'character varying', nullable: true, comment: '类型' })
- type: string;
- @Column({ type: 'character varying', nullable: true, comment: '行业领域' })
- field: string;
- @Column({ type: 'character varying', nullable: true, comment: '需求紧急度' })
- urgent: string;
- @Column({ type: 'character varying', nullable: true, comment: '合作方式' })
- method: string;
- @Column({ type: 'character varying', nullable: true, comment: '开始时间' })
- start_time: string;
- @Column({ type: 'character varying', nullable: true, comment: '结束时间' })
- end_time: string;
- @Column({ type: 'character varying', nullable: true, comment: '价格' })
- money: string;
- @Column({ type: 'jsonb', nullable: true, comment: '需求地区' })
- area: Array<any>;
- @Column({ type: 'character varying', nullable: true, comment: '简介' })
- brief: string;
- @Column({ type: 'character varying', nullable: true, comment: '需求状态', default: '0' })
- demand_status: string;
- @Column({ type: 'character varying', nullable: true, comment: '是否公开', default: '1' })
- is_use: string;
- @Column({ type: 'character varying', nullable: true, comment: '状态' })
- status: string;
- @Column({ type: 'character varying', nullable: true, comment: '所属产业' })
- industry: string;
- @Column({ type: 'character varying', nullable: true, comment: '所属企业' })
- company: string;
- @Column({ type: 'character varying', nullable: true, comment: '企业简况' })
- company_brief: string;
- @Column({ type: 'character varying', nullable: true, comment: '联系人' })
- contacts: string;
- @Column({ type: 'character varying', nullable: true, comment: '联系电话' })
- tel: string;
- @Column({ type: 'character varying', nullable: true, comment: '年份' })
- year: string;
- @Column({ type: 'character varying', nullable: true, comment: '月份' })
- month: string;
- @Column({ type: 'character varying', nullable: true, comment: '技术需求名称' })
- tec_name: string;
- @Column({ type: 'character varying', nullable: true, comment: '待解决问题' })
- question: string;
- }
|