Your IP : 216.73.217.117


Current Path : /var/www/v3.cesa.co.za/src/EventBundle/Resources/config/doctrine/
Upload File :
Current File : /var/www/v3.cesa.co.za/src/EventBundle/Resources/config/doctrine/SchoolEvent.orm.yml.disabled

App\EventBundle\Entity\SchoolEvent:
  type: entity
  repositoryClass: App\EventBundle\Repository\SchoolEventRepository
  table: SchoolEvents
  id:
    id:
      type: integer
      column: EventID
      generator:
        strategy: IDENTITY
  fields:
    event_name:
      type: string
      length: 255
      column: EventName
      nullable: true
    level:
      type: string
      length: 255
      column: Level
      nullable: true
    city:
      type: string
      length: 255
      column: City
      nullable: true
    venue:
      type: string
      length: 255
      column: Venue
      nullable: true
    start_date:
      type: date
      column: StartDate
      nullable: true
    end_date:
      type: date
      column: EndDate
      nullable: true
    start_time:
      type: time
      column: StartTime
      nullable: true
    end_time:
      type: time
      column: EndTime
      nullable: true
    available_spaces:
      type: integer
      column: AvailableSpaces
      nullable: false
      options:
          default: 0
    cost_per_person:
      type: decimal
      column: CostPerPerson
      precicion: 2
      scale: 2
      nullable: true
    event_description:
      type: text
      column: EventDescription
      nullable: true
    hours:
      type: integer
      column: Hours
      nullable: false
      options:
          default: 0
    cpd:
      type: string
      length: 50
      column: CPD
      nullable: true
    code:
      type: string
      length: 50
      column: CODE
      nullable: true
    accred_num:
      type: string
      length: 50
      column: AccredNum
      nullable: true
    province:
      type: string
      length: 50
      column: Province
      nullable: true
    reg_deadline:
      type: datetime
      column: RegDeadline
      nullable: true
    member_discount:
      type: decimal
      column: MemberDiscount
      precicion: 2
      scale: 2
      nullable: true
    early_bird_discount:
      type: decimal
      column: EarlyBirdDiscount
      precicion: 2
      scale: 2
      nullable: true
    early_bird_date:
      type: datetime
      column: EarlyBirdDate
      nullable: true
    cancelled:
      type: boolean
      column: Cancelled
      nullable: false
      options:
          default: 0
    bank_acc_name:
      type: string
      length: 255
      column: BankAccName
      nullable: true
    external_link:
      type: text
      column: ExternalLink
      nullable: true
    file_attachment:
      type: string
      length: 255
      column: FileAttachment
      nullable: true
    candidate_academy:
      type: string
      length: 1
      column: CandidateAcademy
      nullable: true
    booking_confirmed:
      type: string
      length: 1
      column: BookingConfirmed
      nullable: true
    attendance_register:
      type: string
      length: 255
      column: AttendanceRegister
      nullable: true
    sacpcmp_num:
      type: string
      length: 255
      column: SACPCMPNum
      nullable: true
    accred_num_2:
      type: string
      length: 255
      column: AccredNum2
      nullable: true
    contact_person:
      type: string
      length: 255
      column: ContactPerson
      nullable: true
    contact_tel:
      type: string
      length: 255
      column: ContactTel
      nullable: true
    contact_email:
      type: string
      length: 255
      column: ContactEmail
      nullable: true
    course_type:
      type: string
      columnDefinition: "enum('CESA Course', 'Inhouse Client Course')"
      length: 255
      column: CourseType
      nullable: true
    online_course_link:
      type: string
      length: 255
      column: OnlineCourseLink
      nullable: true
    test_required:
      type: boolean
      column: TestRequired
      nullable: false
      options:
          default: 0
    attendance_register_2:
      type: string
      length: 255
      column: AttendanceRegister2
      nullable: true
    attendance_register_3:
      type: string
      length: 255
      column: AttendanceRegister3
      nullable: true
    attendance_register_4:
      type: string
      length: 255
      column: AttendanceRegister4
      nullable: true
    attendance_register_5:
      type: string
      length: 255
      column: AttendanceRegister5
      nullable: true
    copy_reg_form_to:
      type: string
      length: 255
      column: CopyRegFormTo
      nullable: true
    trainer_inv_recv:
      type: boolean
      column: TrainerInvRecv
      nullable: false
      options:
          default: 0
  manyToOne:
    school_course:
      targetEntity: SchoolCourse
      inversedBy: school_attendee
      joinColumn:
        name: CourseID
        referencedColumnName: CourseID
    school_web_category:
      targetEntity: SchoolWebCategory
      inversedBy: school_event
      joinColumn:
        name: WebCategory
        referencedColumnName: WebCategoryID
    school_cost_package:
      targetEntity: SchoolCostPackage
      inversedBy: school_event
      joinColumn:
        name: CostPackage
        referencedColumnName: CostPackageID
    questionnaire:
      targetEntity: Questionnaire
      inversedBy: school_event
      joinColumn:
        name: QuestionnaireID
        referencedColumnName: Questionnaire_ID
    training_provider:
      targetEntity: TrainingProvider
      inversedBy: school_event
      joinColumn:
        name: TrainerID
        referencedColumnName: ProviderID
  oneToMany:
    school_attendee:
      targetEntity: SchoolAttendee
      mappedBy: school_event