| Total Complexity | 1 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | class SmsReport extends \Illuminate\Database\Eloquent\Model |
||
| 28 | { |
||
| 29 | use HasFactory; |
||
| 30 | |||
| 31 | public const TABLE = 'sms_reports'; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * The model table name in database. |
||
| 35 | * |
||
| 36 | * @var string |
||
| 37 | */ |
||
| 38 | protected $table = self::TABLE; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * An array of attribute names that are mass assignable in the database. |
||
| 42 | * |
||
| 43 | * @var string[] |
||
| 44 | */ |
||
| 45 | protected $fillable = [ |
||
| 46 | 'cell', |
||
| 47 | 'message', |
||
| 48 | 'from', |
||
| 49 | 'number', |
||
| 50 | 'web_service_response', |
||
| 51 | 'success', |
||
| 52 | ]; |
||
| 53 | |||
| 54 | protected $casts = [ |
||
| 55 | 'success' => 'boolean', |
||
| 56 | ]; |
||
| 57 | |||
| 58 | /** |
||
| 59 | * Create a new factory instance for the model. |
||
| 60 | * |
||
| 61 | * @return \Illuminate\Database\Eloquent\Factories\Factory |
||
| 62 | */ |
||
| 63 | protected static function newFactory() |
||
| 68 |