dist/vuex-orm.esm.js
function HasOne(model, related, foreignKey, localKey) {
        var _this = _super.call(this, model) /* istanbul ignore next */ || this;
        _this.related = _this.model.relation(related);
        _this.foreignKey = foreignKey;
        _this.localKey = localKey;
        return _this;
    }
function HasOne(model, related, foreignKey, localKey) {
        var _this = _super.call(this, model) /* istanbul ignore next */ || this;
        _this.related = _this.model.relation(related);
        _this.foreignKey = foreignKey;
        _this.localKey = localKey;
        return _this;
    }
function HasOne ( model , related , foreignKey , localKey ) { var _this = _super . call ( this , model ) /* istanbul ignore next */ || this ; _this . related = _this . model . relation ( related ) ; _this . foreignKey = foreignKey ; _this . localKey = localKey ; return _this ; }
Create a new has one instance.
Create a new has one instance .