Label.php 645 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Builder;
  4. use Illuminate\Database\Eloquent\Model;
  5. /**
  6. * 标签
  7. *
  8. * @property int $id
  9. * @property string $name 名称
  10. * @property int $sort 排序值
  11. * @method static Builder|Label newModelQuery()
  12. * @method static Builder|Label newQuery()
  13. * @method static Builder|Label query()
  14. * @method static Builder|Label whereId($value)
  15. * @method static Builder|Label whereName($value)
  16. * @method static Builder|Label whereSort($value)
  17. * @mixin \Eloquent
  18. */
  19. class Label extends Model {
  20. public $timestamps = false;
  21. protected $table = 'label';
  22. protected $primaryKey = 'id';
  23. }