PHP Classes

File: Resources/config/doctrine/VotePositive.orm.xml

Recommend this page to a friend!
  Classes of Manolo Salsas   Msalsas PHP Voting System Project Bundle   Resources/config/doctrine/VotePositive.orm.xml   Download  
File: Resources/config/doctrine/VotePositive.orm.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Msalsas PHP Voting System Project Bundle
Symfony bundle to manage votes of users on content
Author: By
Last change: Update of Resources/config/doctrine/VotePositive.orm.xml
Date: 2 years ago
Size: 1,077 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8"?> <doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> <entity name="Msalsas\VotingBundle\Entity\VotePositive" table="msalsas_voting_positive_votes" repository-class="Msalsas\VotingBundle\Entity\VoteRepository"> <id name="id" type="integer"><generator strategy="AUTO"/></id> <many-to-one field="user" target-entity="\Msalsas\VotingBundle\Entity\Vote\UserInterface"> <join-column name="user_id" referenced-column-name="id" on-delete="CASCADE" /> </many-to-one> <field name="reference" column="reference" type="integer" length="180" /> <field name="userIP" column="user_ip" type="string" length="180" nullable="true" /> </entity> </doctrine-mapping>