<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Vich\UploaderBundle\Mapping\Annotation as Vich;
use App\Entity\Traits\AttachmentTrait;
use App\Entity\Traits\CollegeTrait;
use App\Entity\Traits\BatchMethodTrait;
/**
*
* @ORM\Entity(repositoryClass="App\Repository\BatchCollegeAttachmentRepository")
* @Vich\Uploadable
*
* @author wendell.zheng <wxzheng@ustc.edu.cn>
*/
class BatchCollegeAttachment
{
use AttachmentTrait, CollegeTrait, BatchMethodTrait;
const NAME = '学院附件';
/**
*
* @ORM\ManyToOne(targetEntity="Batch", inversedBy="collegeAttachments")
*/
protected $batch;
}