How to use sylius admin crud templates with sylius resource models
问题 I'm using Sylius 1.0.0-dev and created model called Trainee <?php namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; use SyliusExtensionBundle\Entity\Product; use SyliusExtensionBundle\Entity\Order; use Sylius\Component\Resource\Model\ResourceInterface; /** * Trainee * * @ORM\Table(name="smartbyte_trainee") * @ORM\Entity() */ class Trainee implements ResourceInterface { /** * @var integer * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") */