cellsysBase/cellsysAppModel.js

30 lines
780 B
JavaScript
Raw Normal View History

2024-08-14 16:20:56 +08:00
/*
* @Author: ag
* @LastEditTime: 2021-10-25 23:04:48
* @LastEditors: ag
* @Description:
*/
import { CellsysType} from './cellsysUtil.js';
class CellsysAppModel {
constructor(params) {
this.cellsysType = CellsysType.AppModel;
if(!params) {params = {}};
this.id = params.id;
this.name = params.name;
this.type = params.type;
this.isApp = params.is_app;
this.filePath = params.file_path;
this.typeName = params.type_name;
this.description = params.description;
this.typeDescription = params.type_description;
this.abbreviation = params.abbreviation;
this.buildPath = params.build_path
this.viewPath = params.view_path
}
}
export default CellsysAppModel