ContractLog.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. use Prettus\Repository\Contracts\Transformable;
  5. use Prettus\Repository\Traits\TransformableTrait;
  6. /**
  7. * Class ContractLog.
  8. *
  9. * @package namespace App\Models;
  10. * @property int $id
  11. * @property int $contract_id 合约ID
  12. * @property int $m_id 会员ID
  13. * @property string $msg 日志说明
  14. * @property string $data 相关数据
  15. * @property \Illuminate\Support\Carbon|null $created_at
  16. * @property \Illuminate\Support\Carbon|null $updated_at
  17. * @method static \Illuminate\Database\Eloquent\Builder|ContractLog newModelQuery()
  18. * @method static \Illuminate\Database\Eloquent\Builder|ContractLog newQuery()
  19. * @method static \Illuminate\Database\Eloquent\Builder|ContractLog query()
  20. * @method static \Illuminate\Database\Eloquent\Builder|ContractLog whereContractId($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|ContractLog whereCreatedAt($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|ContractLog whereData($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|ContractLog whereId($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|ContractLog whereMId($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|ContractLog whereMsg($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|ContractLog whereUpdatedAt($value)
  27. * @mixin \Eloquent
  28. * @property string $contract_data 合约数据信息
  29. * @method static \Illuminate\Database\Eloquent\Builder|ContractLog whereContractData($value)
  30. */
  31. class ContractLog extends Model implements Transformable
  32. {
  33. use TransformableTrait;
  34. /**
  35. * The attributes that are mass assignable.
  36. *
  37. * @var array
  38. */
  39. protected $guarded = ['id', 'updated_at', 'created_at'];
  40. }