|
@@ -22,16 +22,14 @@ export class FVO_Role {
|
|
|
'brief': string = undefined;
|
|
|
@ApiProperty({ description: '底部菜单' })
|
|
|
'menu': Array<any> = undefined;
|
|
|
- @ApiProperty({ description: '状态' })
|
|
|
- 'status': string = undefined;
|
|
|
- @ApiProperty({ description: '账号类型' })
|
|
|
- 'type': string = undefined;
|
|
|
+ @ApiProperty({ description: '是否使用' })
|
|
|
+ 'is_use': string = undefined;
|
|
|
}
|
|
|
|
|
|
export class QDTO_Role extends SearchBase {
|
|
|
constructor() {
|
|
|
const like_prop = [];
|
|
|
- const props = ['name', 'code', 'status', 'type'];
|
|
|
+ const props = ['name', 'code', 'is_use'];
|
|
|
const mapping = [];
|
|
|
super({ like_prop, props, mapping });
|
|
|
}
|
|
@@ -39,10 +37,8 @@ export class QDTO_Role extends SearchBase {
|
|
|
'name': string = undefined;
|
|
|
@ApiProperty({ description: '角色编码' })
|
|
|
'code': string = undefined;
|
|
|
- @ApiProperty({ description: '状态' })
|
|
|
+ @ApiProperty({ description: '是否使用' })
|
|
|
'status': string = undefined;
|
|
|
- @ApiProperty({ description: '账号类型' })
|
|
|
- 'type': string = undefined;
|
|
|
}
|
|
|
|
|
|
export class QVO_Role extends FVO_Role {
|
|
@@ -65,12 +61,9 @@ export class CDTO_Role {
|
|
|
@ApiProperty({ description: '底部菜单' })
|
|
|
@Rule(RuleType['array']().empty(''))
|
|
|
'menu': Array<any> = undefined;
|
|
|
- @ApiProperty({ description: '状态' })
|
|
|
- @Rule(RuleType['string']().empty(''))
|
|
|
- 'status': string = undefined;
|
|
|
- @ApiProperty({ description: '账号类型' })
|
|
|
+ @ApiProperty({ description: '是否使用' })
|
|
|
@Rule(RuleType['string']().empty(''))
|
|
|
- 'type': string = undefined;
|
|
|
+ 'is_use': string = undefined;
|
|
|
}
|
|
|
|
|
|
export class CVO_Role extends FVO_Role {
|