NoticeTemplateModel.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. namespace App\Models\Common;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * App\Models\Common\NoticeTemplateModel
  6. *
  7. * @property int $id
  8. * @property \Illuminate\Support\Carbon $created_at 创建时间
  9. * @property \Illuminate\Support\Carbon $updated_at 更新时间
  10. * @property int $uid 用户
  11. * @property string $key 通知类型
  12. * @property string $group 分组
  13. * @property int $isopen 是否打开0关闭|1打开
  14. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\NoticeTemplateModel newModelQuery()
  15. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\NoticeTemplateModel newQuery()
  16. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\NoticeTemplateModel query()
  17. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\NoticeTemplateModel whereCreatedAt($value)
  18. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\NoticeTemplateModel whereGroup($value)
  19. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\NoticeTemplateModel whereId($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\NoticeTemplateModel whereIsopen($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\NoticeTemplateModel whereKey($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\NoticeTemplateModel whereUid($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Common\NoticeTemplateModel whereUpdatedAt($value)
  24. * @mixin \Eloquent
  25. */
  26. class NoticeTemplateModel extends Model
  27. {
  28. //
  29. protected $table = 'kdgx_miniprogram_notice_manage';
  30. public $dateFormat = 'U';
  31. protected $fillable = ['key', 'uid', 'group', 'isopen'];
  32. }