DeedModel.php 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?php
  2. namespace App\Models\Deed;
  3. use App\Models\Model;
  4. /**
  5. * App\Models\Deed\DeedModel
  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|null $number 编号
  12. * @property string $sign 签名
  13. * @property int|null $sign_content 签名内容
  14. * @property int $type 契约类型0:交换微信|1:72小时|2:开黑王者|3:开黑吃鸡|4:晚安
  15. * @property int|null $ack 契约标记
  16. * @property int $state 契约状态-1:失败|0:生成|1:签订|2:公布|3:确定|4:结束|5:完成
  17. * @property int $sign_at 签订时间
  18. * @property int $publish_at 公布截止时间
  19. * @property int $confirm_at 确认截止时间
  20. * @property int $end_at 结束截止时间
  21. * @property int $complete_at 完成时间
  22. * @property int $way 途径0:报名|1:邀请
  23. * @property int $way_id 途径id
  24. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel newModelQuery()
  25. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel newQuery()
  26. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel query()
  27. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereAck($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereCompleteAt($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereConfirmAt($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereCreatedAt($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereEndAt($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereId($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereNumber($value)
  34. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel wherePublishAt($value)
  35. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereSign($value)
  36. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereSignAt($value)
  37. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereSignContent($value)
  38. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereState($value)
  39. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereType($value)
  40. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereUid($value)
  41. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereUpdatedAt($value)
  42. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereWay($value)
  43. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereWayId($value)
  44. * @mixin \Eloquent
  45. */
  46. class DeedModel extends Model
  47. {
  48. protected $table = 'kdgx_fpdx_deed';
  49. public $dateFormat = 'U';
  50. protected $fillable = [
  51. 'uid',
  52. 'number',
  53. 'sign',
  54. 'sign_content',
  55. 'type',
  56. 'ack',
  57. 'desc',
  58. 'state',
  59. 'way',
  60. 'way_id',
  61. 'sign_at',
  62. 'publish_at',
  63. 'confirm_at',
  64. 'end_at',
  65. 'complete_at'
  66. ];
  67. }