/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{__decorate as e}from"tslib";import{ClonableMixin as t}from"../../core/Clonable.js";import{property as r,subclass as o}from"../../core/accessorSupport/decorators.js";import{Integer as s}from"../../core/accessorSupport/ensureType.js";import i from"./AttributeTableElement.js";let p=class extends(t(i)){constructor(e){super(e),this.relationshipId=null,this.type="relationship"}clone(){return super.clone()}};e([r({type:Number,json:{type:s,write:{enabled:!0,isRequired:!0}}})],p.prototype,"relationshipId",void 0),e([r({type:["relationship"],readOnly:!0,json:{read:!1,write:{enabled:!0,isRequired:!0}}})],p.prototype,"type",void 0),p=e([o("esri.tables.elements.AttributeTableRelationshipElement")],p);const l=p;export{l as default};
