<?php
/*
 本代码由 口号帮 创建
 创建时间 2019-05-08 16:22:09
 技术支持 口号帮 
 严禁反编译、逆向等任何形式的侵权行为，违者将追究法律责任
*/

namespace App\Models;use Illuminate\Database\Eloquent\Model;use Illuminate\Database\Eloquent\SoftDeletes;class SystemMessageBack extends Model{use SoftDeletes;protected $dates=['deleted_at'];protected $guarded=[];public function setContentAttribute($content){$AA_AAAAA="str_replace";$P2gAC0=$AA_AAAAA(env('IMG_URL'),'_IMG_',$content);$this->attributes['content']=$P2gAC0;}public function getContentAttribute($content){$AAA_____="str_replace";$P2gAC0=$AAA_____('_IMG_',env('IMG_URL'),$content);return $P2gAC0;}public function read(){return $this->hasMany(SystemMessageClick::class,'system_id','id');}public function order(){return $this->hasOne(Apply::class,'id','order_id');}}
?>