|
@@ -19,11 +19,11 @@ export class FVO_unit {
|
|
@ApiProperty({ description: '科研机构名称' })
|
|
@ApiProperty({ description: '科研机构名称' })
|
|
'name': string = undefined;
|
|
'name': string = undefined;
|
|
@ApiProperty({ description: '联系人' })
|
|
@ApiProperty({ description: '联系人' })
|
|
- 'contacts': string = undefined;
|
|
|
|
|
|
+ 'person': string = undefined;
|
|
@ApiProperty({ description: '联系电话' })
|
|
@ApiProperty({ description: '联系电话' })
|
|
- 'contacts_phone': string = undefined;
|
|
|
|
- @ApiProperty({ description: '图片' })
|
|
|
|
- 'file': Array<any> = undefined;
|
|
|
|
|
|
+ 'person_phone': string = undefined;
|
|
|
|
+ @ApiProperty({ description: '地址' })
|
|
|
|
+ 'address': string = undefined;
|
|
@ApiProperty({ description: '简介' })
|
|
@ApiProperty({ description: '简介' })
|
|
'brief': string = undefined;
|
|
'brief': string = undefined;
|
|
@ApiProperty({ description: '状态' })
|
|
@ApiProperty({ description: '状态' })
|
|
@@ -35,16 +35,16 @@ export class FVO_unit {
|
|
export class QDTO_unit extends SearchBase {
|
|
export class QDTO_unit extends SearchBase {
|
|
constructor() {
|
|
constructor() {
|
|
const like_prop = [];
|
|
const like_prop = [];
|
|
- const props = ['user', 'contacts', 'contacts_phone', 'status', 'is_show'];
|
|
|
|
|
|
+ const props = ['user', 'person', 'person_phone', 'status', 'is_show'];
|
|
const mapping = [];
|
|
const mapping = [];
|
|
super({ like_prop, props, mapping });
|
|
super({ like_prop, props, mapping });
|
|
}
|
|
}
|
|
@ApiProperty({ description: '平台用户id' })
|
|
@ApiProperty({ description: '平台用户id' })
|
|
'user': string = undefined;
|
|
'user': string = undefined;
|
|
@ApiProperty({ description: '联系人' })
|
|
@ApiProperty({ description: '联系人' })
|
|
- 'contacts': string = undefined;
|
|
|
|
|
|
+ 'person': string = undefined;
|
|
@ApiProperty({ description: '联系电话' })
|
|
@ApiProperty({ description: '联系电话' })
|
|
- 'contacts_phone': string = undefined;
|
|
|
|
|
|
+ 'person_phone': string = undefined;
|
|
@ApiProperty({ description: '状态' })
|
|
@ApiProperty({ description: '状态' })
|
|
'status': string = undefined;
|
|
'status': string = undefined;
|
|
@ApiProperty({ description: '是否公开' })
|
|
@ApiProperty({ description: '是否公开' })
|
|
@@ -67,13 +67,13 @@ export class CDTO_unit {
|
|
'name': string = undefined;
|
|
'name': string = undefined;
|
|
@ApiProperty({ description: '联系人' })
|
|
@ApiProperty({ description: '联系人' })
|
|
@Rule(RuleType['string']().empty(''))
|
|
@Rule(RuleType['string']().empty(''))
|
|
- 'contacts': string = undefined;
|
|
|
|
|
|
+ 'person': string = undefined;
|
|
@ApiProperty({ description: '联系电话' })
|
|
@ApiProperty({ description: '联系电话' })
|
|
@Rule(RuleType['string']().empty(''))
|
|
@Rule(RuleType['string']().empty(''))
|
|
- 'contacts_phone': string = undefined;
|
|
|
|
- @ApiProperty({ description: '图片' })
|
|
|
|
- @Rule(RuleType['array']().empty(''))
|
|
|
|
- 'file': Array<any> = undefined;
|
|
|
|
|
|
+ 'person_phone': string = undefined;
|
|
|
|
+ @ApiProperty({ description: '地址' })
|
|
|
|
+ @Rule(RuleType['string']().empty(''))
|
|
|
|
+ 'address': string = undefined;
|
|
@ApiProperty({ description: '简介' })
|
|
@ApiProperty({ description: '简介' })
|
|
@Rule(RuleType['string']().empty(''))
|
|
@Rule(RuleType['string']().empty(''))
|
|
'brief': string = undefined;
|
|
'brief': string = undefined;
|