SendOrder.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: hp
  5. * Date: 2017/11/22
  6. * Time: 14:15
  7. */
  8. namespace App\Modules\SendOrder\Models;
  9. use App\Modules\Book\Models\BookConfig;
  10. use DB;
  11. use Illuminate\Database\Eloquent\Model;
  12. class SendOrder extends Model
  13. {
  14. protected $table = 'send_orders';
  15. protected $fillable = [
  16. 'name',
  17. 'channel_type',
  18. 'promotion_type',
  19. 'distribution_channel_id',
  20. 'book_id',
  21. 'book_name',
  22. 'chapter_id',
  23. 'chapter_name',
  24. 'headline_id',
  25. 'body_template_id',
  26. 'document_cover_id',
  27. 'original_guide_id',
  28. 'subscribe_chapter_id',
  29. 'import_company_name',
  30. 'fan_num',
  31. 'subscribe_chapter_name',
  32. 'qr_code_id',
  33. 'subscribe_chapter_seq',
  34. 'cost',
  35. 'sex_preference',
  36. 'is_enable',
  37. 'entrance',
  38. 'domain',
  39. 'redirect_url',
  40. 'send_time',
  41. 'charge_type',
  42. 'pre_send_date',
  43. 'promotion_point',
  44. 'force_show_qrcode'
  45. ];
  46. }