| Current Path : /var/www/v3.cesa.co.za/src/EventBundle/Resources/config/doctrine/ |
| Current File : /var/www/v3.cesa.co.za/src/EventBundle/Resources/config/doctrine/SchoolCourse.orm.yml.disabled |
App\EventBundle\Entity\SchoolCourse:
type: entity
repositoryClass: App\EventBundle\Repository\SchoolCourseRepository
table: SchoolCourses
id:
id:
type: integer
column: CourseID
generator:
strategy: IDENTITY
fields:
course_name:
type: string
length: 255
column: CourseName
nullable: true
level:
type: string
length: 255
column: Level
nullable: true
cpd:
type: string
length: 50
column: CPD
nullable: true
accred_num:
type: string
length: 50
column: AccredNum
nullable: true
course_description:
type: text
column: CourseDescription
nullable: true
file_attachment:
type: string
length: 255
column: FileAttachment
nullable: true
hours:
type: integer
column: Hours
nullable: false
options:
default: 0
nqf_level:
type: string
length: 50
column: NQFLevel
nullable: true
category:
type: string
length: 50
column: Category
nullable: true
sacpcmp_num:
type: string
length: 255
column: SACPCMPNum
nullable: true
accred_num_2:
type: string
length: 255
column: AccredNum2
nullable: true
course_type:
type: string
columnDefinition: "enum('CESA Course', 'Inhouse Client Course')"
length: 255
column: CourseType
nullable: true
desc_overview:
type: text
column: DescOverview
nullable: true
desc_why_attend:
type: text
column: DescWhyAttend
nullable: true
desc_outcomes:
type: text
column: DescOutcomes
nullable: true
desc_objectives:
type: text
column: DescObjectives
nullable: true
desc_program:
type: text
column: DescProgram
nullable: true
desc_who_attend:
type: text
column: DescWhoAttend
nullable: true
currently_offered:
type: boolean
column: CurrentlyOffered
nullable: false
options:
default: 1
advert_info:
type: text
column: AdvertInfo
nullable: true
temp_desc_overview:
type: text
column: TempDescOverview
nullable: true
temp_desc_why_attend:
type: text
column: TempDescWhyAttend
nullable: true
temp_desc_outcomes:
type: text
column: TempDescOutcomes
nullable: true
temp_desc_program:
type: text
column: TempDescProgram
nullable: true
temp_desc_who_attend:
type: text
column: TempDescWhoAttend
nullable: true
accept_temp:
type: string
length: 1
column: AcceptTemp
nullable: true
testimonials:
type: text
column: Testimonials
nullable: true
manyToOne:
school_web_category:
targetEntity: SchoolWebCategory
inversedBy: school_course
joinColumn:
name: WebCategory
referencedColumnName: WebCategoryID
school_facilitator:
targetEntity: SchoolFacilitator
inversedBy: school_course
joinColumn:
name: FacilitatorID
referencedColumnName: FacilitatorID
school_provider:
targetEntity: SchoolProvider
inversedBy: school_course
joinColumn:
name: ProviderID
referencedColumnName: ProviderID
training_provider:
targetEntity: TrainingProvider
inversedBy: school_course
joinColumn:
name: ProviderID
referencedColumnName: ProviderID
oneToMany:
school_event:
targetEntity: SchoolEvent
mappedBy: school_course