我有这个结构
`UserInterface.php`
abstract class User implements UserInterfacee in model`
`class student extends user.php`
`class teacher extends user.php`
现在我应该在哪个班级使用这个学说代码
/**
* @Entity
* @InheritanceType("JOINED")
* @DiscriminatorColumn(name="discr", type="string")
* @DiscriminatorMap({"user" = "User", "student" = "Student"})
*/