• This project
    • Loading...
  • Sign in

OnePoem / OnePoem-Server

Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • OnePoem-Server
  • app
  • Models
  • OnePoem.php
  • 李帅's avatar
    1.新增字体管理。 · c9d7d60f
    c9d7d60f
    李帅 authored 2022-06-21 18:31:25 +0800
OnePoem.php 329 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class OnePoem extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'one_poem';


    public function admin_make_video()
    {
        return $this->belongsTo(AdminMakeVideo::class,'poem_id');
    }
}