import {Str, Model, Uid, HasOne} from '@vuex-orm/core'
import {Network} from "~/models/Network/Network";

export class NetworkOrganization extends Model {
  static entity = 'network_organizations'

  @Uid()
  id!: number | string | null

  @HasOne(() => Network, 'networkOrganizationId')
  network!: Network | null

  @Str('')
  startDate!: string

  @Str('')
  category!: string
}
