You've already forked lubo_comment_query
编辑追加时,展示节目结束图
This commit is contained in:
@ -8,4 +8,8 @@ class ProgramAppends extends Model
|
||||
{
|
||||
protected $fillable = ["name", "from", "price", "append"];
|
||||
protected $dateFormat = "U";
|
||||
public function program(): \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Programs::class, "program_id", "id");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user