import {IControllerParam} from "../../interface" import {ConstructorType} from "../../type" export default class ControllerParam implements IControllerParam{ public cost: ConstructorType public propName: string public index: number public requestName: string public require: boolean constructor({cost = ControllerParam, propName = '', index = 0, requestName = '', require = false} = {}){ this.cost = cost this.propName = propName this.index = index this.requestName = requestName this.require = require } }