PHP Classes

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

Recommend this page to a friend!
  Classes of Manolo Salsas   Msalsas PHP Voting System Project Bundle   Resources/config/doctrine/VoteNegative.orm.xml   Download  
File: Resources/config/doctrine/VoteNegative.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/VoteNegative.orm.xml
Date: 3 years ago
Size: 1,153 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\VoteNegative" table="msalsas_voting_negative_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" /> <field name="reason" column="reason" type="string" length="180" /> </entity> </doctrine-mapping>