src/Entity/ItemExcellentBook.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use App\Entity\Traits\RankTrait;
  5. use App\Entity\Traits\CodeTrait;
  6. /**
  7.  *
  8.  * @ORM\Entity(repositoryClass="App\Repository\ItemExcellentBookRepository")
  9.  *
  10.  * @author wendell.zheng <wxzheng@ustc.edu.cn>
  11.  */
  12. class ItemExcellentBook extends AbstractItem
  13. {
  14.     use RankTraitCodeTrait;
  15.     
  16.     const TITLES = [
  17.         '项目编号',
  18.         '项目类别',
  19.         '级别',
  20.         '等级',
  21.         '教材名称',
  22.         '申报人',
  23.         '获奖时间',
  24.         '所属单位',
  25.         '备注'
  26.     ];
  27.     
  28.     const COLUMNS = [
  29.         'code',
  30.         'category',
  31.         'level',
  32.         'rank',
  33.         'name',
  34.         'author',
  35.         'date',
  36.         'department',
  37.         'remark'
  38.     ];
  39. }