import { EN_AppEntities } from '@app_consts';
import { AppBaseEntity } from '../generic/app.baseentity';
import { AppBaseFilter } from '../generic/app.baseentityfilter';

export class WebAppToWebAppRole extends AppBaseEntity {
  typeName = EN_AppEntities.WebAppToWebAppRole;
  webAppToWebAppRoleId: number;
  webAppId: number;
  webAppRoleId: number;
  webAppRoleName: string;
  webAppRoleHierarchy: number;

  public get entityId() {
    return this.webAppToWebAppRoleId;
  }
  public set entityId(value) {
    this.webAppToWebAppRoleId = value;
  }
}


export class WebAppToWebAppRoleFilter extends AppBaseFilter {
  webAppId: number;
}
