_ide_helper_models.php 128 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039
  1. <?php
  2. // @formatter:off
  3. // phpcs:ignoreFile
  4. /**
  5. * A helper file for your Eloquent Models
  6. * Copy the phpDocs from this file to the correct Model,
  7. * And remove them from this file, to prevent double declarations.
  8. *
  9. * @author Barry vd. Heuvel <barryvdh@gmail.com>
  10. */
  11. namespace App\Models{
  12. /**
  13. * 代理商
  14. *
  15. * @property int $id 代理商编号
  16. * @property int $user_id 用户编号
  17. * @property int|null $info_record_id 代理商信息记录编号
  18. * @property int|null $real_auth_record_id 代理商实名认证记录编号
  19. * @property int|null $qual_record_id 代理商资质认证记录编号
  20. * @property string|null $area_code 代理区域
  21. * @property int $state 状态
  22. * @property \Illuminate\Support\Carbon|null $created_at 创建时间
  23. * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
  24. * @property \Illuminate\Support\Carbon|null $deleted_at 删除时间
  25. * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\AgentProjectCate> $cates
  26. * @property-read int|null $cates_count
  27. * @property-read \App\Models\AgentInfoRecord|null $info
  28. * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\AgentInfoRecord> $infoRecords
  29. * @property-read int|null $info_records_count
  30. * @property-read \App\Models\MemberUser|null $member
  31. * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\AgentProject> $projects
  32. * @property-read int|null $projects_count
  33. * @property-read \App\Models\AgentRealAuthRecord|null $realAuth
  34. * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\AgentRealAuthRecord> $realAuthRecords
  35. * @property-read int|null $real_auth_records_count
  36. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo newModelQuery()
  37. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo newQuery()
  38. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo onlyTrashed()
  39. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo query()
  40. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereAreaCode($value)
  41. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereCreatedAt($value)
  42. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereDeletedAt($value)
  43. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereId($value)
  44. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereInfoRecordId($value)
  45. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereQualRecordId($value)
  46. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereRealAuthRecordId($value)
  47. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereState($value)
  48. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereUpdatedAt($value)
  49. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereUserId($value)
  50. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo withTrashed()
  51. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo withoutTrashed()
  52. */
  53. class AgentInfo extends \Eloquent {}
  54. }
  55. namespace App\Models{
  56. /**
  57. * 代理商信息认证记录
  58. *
  59. * @property int $id 代理商信息记录编号
  60. * @property int $agent_id 代理商编号
  61. * @property string $company_name 公司名称
  62. * @property string $company_address 公司地址
  63. * @property string $contact_name 联系人姓名
  64. * @property string $contact_mobile 联系人手机号
  65. * @property string $business_area 经营区域
  66. * @property string $business_scope 经营范围
  67. * @property string|null $auditor 审核人
  68. * @property string|null $audit_time 审核时间
  69. * @property string|null $audit_remark 审核回执
  70. * @property int $state 状态
  71. * @property \Illuminate\Support\Carbon|null $created_at 创建时间
  72. * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
  73. * @property \Illuminate\Support\Carbon|null $deleted_at 删除时间
  74. * @property-read \App\Models\AgentInfo $agent
  75. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord newModelQuery()
  76. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord newQuery()
  77. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord onlyTrashed()
  78. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord query()
  79. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereAgentId($value)
  80. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereAuditRemark($value)
  81. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereAuditTime($value)
  82. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereAuditor($value)
  83. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereBusinessArea($value)
  84. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereBusinessScope($value)
  85. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereCompanyAddress($value)
  86. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereCompanyName($value)
  87. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereContactMobile($value)
  88. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereContactName($value)
  89. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereCreatedAt($value)
  90. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereDeletedAt($value)
  91. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereId($value)
  92. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereState($value)
  93. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereUpdatedAt($value)
  94. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord withTrashed()
  95. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord withoutTrashed()
  96. */
  97. class AgentInfoRecord extends \Eloquent {}
  98. }
  99. namespace App\Models{
  100. /**
  101. * 代理商服务项目
  102. *
  103. * @property int $id 主键
  104. * @property int $cate_id 代理商项目分类ID
  105. * @property int $project_id 项目ID
  106. * @property int|null $agent_id 代理商ID
  107. * @property string $price 项目金额
  108. * @property int $duration 服务时长(分钟)
  109. * @property int $distance 接单距离(米)
  110. * @property int $state
  111. * @property \Illuminate\Support\Carbon|null $created_at 创建时间
  112. * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
  113. * @property \Illuminate\Support\Carbon|null $deleted_at 删除时间
  114. * @property-read \App\Models\AgentProjectCate $cate
  115. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject newModelQuery()
  116. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject newQuery()
  117. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject onlyTrashed()
  118. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject query()
  119. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereAgentId($value)
  120. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereCateId($value)
  121. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereCreatedAt($value)
  122. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereDeletedAt($value)
  123. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereDistance($value)
  124. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereDuration($value)
  125. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereId($value)
  126. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject wherePrice($value)
  127. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereProjectId($value)
  128. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereState($value)
  129. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereUpdatedAt($value)
  130. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject withTrashed()
  131. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject withoutTrashed()
  132. */
  133. class AgentProject extends \Eloquent {}
  134. }
  135. namespace App\Models{
  136. /**
  137. * 代理商项目分类
  138. *
  139. * @property int $id 主键
  140. * @property int $agent_id 代理商ID
  141. * @property int $cate_id 项目分类ID
  142. * @property int $state 状态(1:启用 0:禁用)
  143. * @property \Illuminate\Support\Carbon|null $created_at 创建时间
  144. * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
  145. * @property \Illuminate\Support\Carbon|null $deleted_at 删除时间
  146. * @property-read \App\Models\ProjectCate|null $parentCate
  147. * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\AgentProject> $projects
  148. * @property-read int|null $projects_count
  149. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate newModelQuery()
  150. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate newQuery()
  151. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate onlyTrashed()
  152. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate query()
  153. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate whereAgentId($value)
  154. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate whereCateId($value)
  155. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate whereCreatedAt($value)
  156. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate whereDeletedAt($value)
  157. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate whereId($value)
  158. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate whereState($value)
  159. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate whereUpdatedAt($value)
  160. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate withTrashed()
  161. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate withoutTrashed()
  162. */
  163. class AgentProjectCate extends \Eloquent {}
  164. }
  165. namespace App\Models{
  166. /**
  167. * 代理商项目设置
  168. *
  169. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectConfig newModelQuery()
  170. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectConfig newQuery()
  171. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectConfig onlyTrashed()
  172. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectConfig query()
  173. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectConfig withTrashed()
  174. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectConfig withoutTrashed()
  175. */
  176. class AgentProjectConfig extends \Eloquent {}
  177. }
  178. namespace App\Models{
  179. /**
  180. * 代理商实名认证记录
  181. *
  182. * @property int $id 代理商实名认证记录编号
  183. * @property int $agent_id 代理商编号
  184. * @property string $real_name 法人姓名
  185. * @property string $id_card 法人身份证号
  186. * @property string $id_card_front_photo 法人身份证正面照片
  187. * @property string $id_card_back_photo 法人身份证反面照片
  188. * @property string $business_license 营业执照照片
  189. * @property string|null $auditor 审核人
  190. * @property string|null $audit_time 审核时间
  191. * @property string|null $audit_remark 审核回执
  192. * @property int $state 状态
  193. * @property \Illuminate\Support\Carbon|null $created_at 创建时间
  194. * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
  195. * @property \Illuminate\Support\Carbon|null $deleted_at 删除时间
  196. * @property-read \App\Models\AgentInfo $agent
  197. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord newModelQuery()
  198. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord newQuery()
  199. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord onlyTrashed()
  200. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord query()
  201. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereAgentId($value)
  202. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereAuditRemark($value)
  203. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereAuditTime($value)
  204. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereAuditor($value)
  205. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereBusinessLicense($value)
  206. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereCreatedAt($value)
  207. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereDeletedAt($value)
  208. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereId($value)
  209. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereIdCard($value)
  210. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereIdCardBackPhoto($value)
  211. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereIdCardFrontPhoto($value)
  212. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereRealName($value)
  213. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereState($value)
  214. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereUpdatedAt($value)
  215. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord withTrashed()
  216. * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord withoutTrashed()
  217. */
  218. class AgentRealAuthRecord extends \Eloquent {}
  219. }
  220. namespace App\Models{
  221. /**
  222. *
  223. *
  224. * @property int $id
  225. * @property string $name 标签名称
  226. * @property string $code 标签代码
  227. * @property int $weight 权重
  228. * @property string|null $description 描述
  229. * @property \Illuminate\Support\Carbon|null $created_at
  230. * @property \Illuminate\Support\Carbon|null $updated_at
  231. * @property \Illuminate\Support\Carbon|null $deleted_at
  232. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag newModelQuery()
  233. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag newQuery()
  234. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag onlyTrashed()
  235. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag query()
  236. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag whereCode($value)
  237. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag whereCreatedAt($value)
  238. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag whereDeletedAt($value)
  239. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag whereDescription($value)
  240. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag whereId($value)
  241. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag whereName($value)
  242. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag whereUpdatedAt($value)
  243. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag whereWeight($value)
  244. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag withTrashed()
  245. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag withoutTrashed()
  246. */
  247. class CoachCommentTag extends \Eloquent {}
  248. }
  249. namespace App\Models{
  250. /**
  251. * 技师投流订单
  252. *
  253. * @property int $id
  254. * @property int $coach_id 技师ID
  255. * @property string|null $order_no 订单交易号
  256. * @property int $position_type 投放位置 1:轮播图 2:弹屏 3:推荐和附近
  257. * @property int $time_slot 时间段 1:上午 2:下午 3:晚上
  258. * @property int $days 投放天数
  259. * @property string $amount 支付金额
  260. * @property string|null $start_time 开始时间
  261. * @property string|null $end_time 结束时间
  262. * @property int $state 状态 0:待支付 1:投放中 2:已结束
  263. * @property \Illuminate\Support\Carbon|null $created_at
  264. * @property \Illuminate\Support\Carbon|null $updated_at
  265. * @property \Illuminate\Support\Carbon|null $deleted_at
  266. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder newModelQuery()
  267. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder newQuery()
  268. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder onlyTrashed()
  269. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder query()
  270. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereAmount($value)
  271. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereCoachId($value)
  272. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereCreatedAt($value)
  273. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereDays($value)
  274. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereDeletedAt($value)
  275. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereEndTime($value)
  276. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereId($value)
  277. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereOrderNo($value)
  278. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder wherePositionType($value)
  279. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereStartTime($value)
  280. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereState($value)
  281. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereTimeSlot($value)
  282. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereUpdatedAt($value)
  283. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder withTrashed()
  284. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder withoutTrashed()
  285. */
  286. class CoachFlowOrder extends \Eloquent {}
  287. }
  288. namespace App\Models{
  289. /**
  290. * 技师信息记录
  291. *
  292. * @property int $id
  293. * @property int $coach_id 技师编号
  294. * @property string|null $nickname 昵称
  295. * @property string|null $avatar 头像
  296. * @property string $gender 性别
  297. * @property string $mobile 服务电话
  298. * @property string|null $birthday 出生日期
  299. * @property int|null $work_years 从业年份
  300. * @property string|null $intention_city 意向城市
  301. * @property string|null $introduction 个人简介
  302. * @property string|null $auditor 审核人
  303. * @property string|null $audit_time 审核时间
  304. * @property string|null $audit_remark 审核回执
  305. * @property int $state 状态
  306. * @property \Illuminate\Support\Carbon|null $created_at
  307. * @property \Illuminate\Support\Carbon|null $updated_at
  308. * @property \Illuminate\Support\Carbon|null $deleted_at
  309. * @property array|null $portrait_images 形象图片
  310. * @property int|null $age 年龄
  311. * @property-read \App\Models\CoachUser|null $coach
  312. * @property-read string $state_text
  313. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord newModelQuery()
  314. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord newQuery()
  315. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord onlyTrashed()
  316. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord query()
  317. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereAge($value)
  318. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereAuditRemark($value)
  319. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereAuditTime($value)
  320. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereAuditor($value)
  321. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereAvatar($value)
  322. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereBirthday($value)
  323. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereCoachId($value)
  324. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereCreatedAt($value)
  325. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereDeletedAt($value)
  326. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereGender($value)
  327. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereId($value)
  328. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereIntentionCity($value)
  329. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereIntroduction($value)
  330. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereMobile($value)
  331. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereNickname($value)
  332. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord wherePortraitImages($value)
  333. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereState($value)
  334. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereUpdatedAt($value)
  335. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereWorkYears($value)
  336. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord withTrashed()
  337. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord withoutTrashed()
  338. */
  339. class CoachInfoRecord extends \Eloquent {}
  340. }
  341. namespace App\Models{
  342. /**
  343. * 技师定位
  344. *
  345. * @property int $id
  346. * @property int $coach_id 技师编号
  347. * @property int $type 地址类型
  348. * @property string $latitude 纬度
  349. * @property string $longitude 经度
  350. * @property string $province 省
  351. * @property string $city 市
  352. * @property string $district 区
  353. * @property string $location 定位地址
  354. * @property string $area_code 行政区划代码
  355. * @property \Illuminate\Support\Carbon|null $created_at
  356. * @property \Illuminate\Support\Carbon|null $updated_at
  357. * @property \Illuminate\Support\Carbon|null $deleted_at
  358. * @property-read \App\Models\CoachUser|null $coach
  359. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation newModelQuery()
  360. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation newQuery()
  361. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation onlyTrashed()
  362. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation query()
  363. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereAreaCode($value)
  364. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereCity($value)
  365. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereCoachId($value)
  366. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereCreatedAt($value)
  367. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereDeletedAt($value)
  368. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereDistrict($value)
  369. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereId($value)
  370. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereLatitude($value)
  371. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereLocation($value)
  372. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereLongitude($value)
  373. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereProvince($value)
  374. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereType($value)
  375. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereUpdatedAt($value)
  376. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation withTrashed()
  377. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation withoutTrashed()
  378. */
  379. class CoachLocation extends \Eloquent {}
  380. }
  381. namespace App\Models{
  382. /**
  383. *
  384. *
  385. * @property int $id
  386. * @property int $order_id 订单ID
  387. * @property int $user_id 用户ID
  388. * @property int $coach_id 技师ID
  389. * @property int $score 评分 1-5
  390. * @property string|null $content 评价内容
  391. * @property array|null $images 图片列表
  392. * @property bool $is_anonymous 是否匿名 0否 1是
  393. * @property int $status 状态 0隐藏 1显示
  394. * @property \Illuminate\Support\Carbon|null $created_at
  395. * @property \Illuminate\Support\Carbon|null $updated_at
  396. * @property \Illuminate\Support\Carbon|null $deleted_at
  397. * @property-read \App\Models\CoachUser|null $coach
  398. * @property-read \App\Models\Order|null $order
  399. * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\CoachCommentTag> $tags
  400. * @property-read int|null $tags_count
  401. * @property-read \App\Models\MemberUser|null $user
  402. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment newModelQuery()
  403. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment newQuery()
  404. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment onlyTrashed()
  405. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment query()
  406. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereCoachId($value)
  407. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereContent($value)
  408. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereCreatedAt($value)
  409. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereDeletedAt($value)
  410. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereId($value)
  411. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereImages($value)
  412. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereIsAnonymous($value)
  413. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereOrderId($value)
  414. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereScore($value)
  415. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereStatus($value)
  416. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereUpdatedAt($value)
  417. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereUserId($value)
  418. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment withTrashed()
  419. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment withoutTrashed()
  420. */
  421. class CoachOrderComment extends \Eloquent {}
  422. }
  423. namespace App\Models{
  424. /**
  425. * 技师开通服务项目
  426. *
  427. * @property int $id 主键
  428. * @property int $coach_id 技师ID
  429. * @property int $project_id 项目ID
  430. * @property string $discount_amount 优惠金额
  431. * @property string $service_gender 服务性别(all:不限 male:男 female:女)
  432. * @property int $service_distance 服务距离(米)
  433. * @property string $traffic_fee_type 收取路费(free:免费 one_way:单程 round_trip:双程)
  434. * @property string $traffic_fee 路费金额
  435. * @property int $state 状态(1:启用 0:禁用)
  436. * @property \Illuminate\Support\Carbon|null $created_at 创建时间
  437. * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
  438. * @property \Illuminate\Support\Carbon|null $deleted_at 删除时间
  439. * @property-read \App\Models\Project $basicInfo
  440. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject newModelQuery()
  441. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject newQuery()
  442. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject onlyTrashed()
  443. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject query()
  444. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereCoachId($value)
  445. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereCreatedAt($value)
  446. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereDeletedAt($value)
  447. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereDiscountAmount($value)
  448. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereId($value)
  449. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereProjectId($value)
  450. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereServiceDistance($value)
  451. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereServiceGender($value)
  452. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereState($value)
  453. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereTrafficFee($value)
  454. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereTrafficFeeType($value)
  455. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereUpdatedAt($value)
  456. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject withTrashed()
  457. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject withoutTrashed()
  458. */
  459. class CoachProject extends \Eloquent {}
  460. }
  461. namespace App\Models{
  462. /**
  463. * 技师资质认证记录
  464. *
  465. * @property int $id
  466. * @property int $coach_id 技师编号
  467. * @property string $qual_type 资质类型
  468. * @property string|null $qual_no 资质证书编号
  469. * @property string $qual_photo 资质证书照片
  470. * @property string|null $valid_start 有效期开始日期
  471. * @property string|null $valid_end 有效期结束日期
  472. * @property string|null $auditor 审核人
  473. * @property string|null $audit_time 审核时间
  474. * @property string|null $audit_remark 审核回执
  475. * @property int $state 状态
  476. * @property \Illuminate\Support\Carbon|null $created_at
  477. * @property \Illuminate\Support\Carbon|null $updated_at
  478. * @property \Illuminate\Support\Carbon|null $deleted_at
  479. * @property-read \App\Models\CoachUser|null $coach
  480. * @property-read string $state_text
  481. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord newModelQuery()
  482. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord newQuery()
  483. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord onlyTrashed()
  484. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord query()
  485. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereAuditRemark($value)
  486. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereAuditTime($value)
  487. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereAuditor($value)
  488. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereCoachId($value)
  489. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereCreatedAt($value)
  490. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereDeletedAt($value)
  491. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereId($value)
  492. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereQualNo($value)
  493. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereQualPhoto($value)
  494. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereQualType($value)
  495. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereState($value)
  496. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereUpdatedAt($value)
  497. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereValidEnd($value)
  498. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereValidStart($value)
  499. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord withTrashed()
  500. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord withoutTrashed()
  501. */
  502. class CoachQualRecord extends \Eloquent {}
  503. }
  504. namespace App\Models{
  505. /**
  506. * 技师实名认证记录
  507. *
  508. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealAuthRecord newModelQuery()
  509. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealAuthRecord newQuery()
  510. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealAuthRecord onlyTrashed()
  511. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealAuthRecord query()
  512. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealAuthRecord withTrashed()
  513. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealAuthRecord withoutTrashed()
  514. */
  515. class CoachRealAuthRecord extends \Eloquent {}
  516. }
  517. namespace App\Models{
  518. /**
  519. * 技师实名认证
  520. *
  521. * @property int $id 技师实名认证记录编号
  522. * @property int $coach_id 技师编号
  523. * @property string $real_name 姓名
  524. * @property string $id_card 身份证号
  525. * @property string $id_card_front_photo 身份证正面照片
  526. * @property string $id_card_back_photo 身份证反面照片
  527. * @property string $id_card_hand_photo 手持身份证照片
  528. * @property string|null $auditor 审核人
  529. * @property string|null $audit_time 审核时间
  530. * @property string|null $audit_remark 审核回执
  531. * @property int $state 状态
  532. * @property \Illuminate\Support\Carbon|null $created_at 创建时间
  533. * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
  534. * @property \Illuminate\Support\Carbon|null $deleted_at 删除时间
  535. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord newModelQuery()
  536. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord newQuery()
  537. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord onlyTrashed()
  538. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord query()
  539. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereAuditRemark($value)
  540. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereAuditTime($value)
  541. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereAuditor($value)
  542. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereCoachId($value)
  543. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereCreatedAt($value)
  544. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereDeletedAt($value)
  545. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereId($value)
  546. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereIdCard($value)
  547. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereIdCardBackPhoto($value)
  548. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereIdCardFrontPhoto($value)
  549. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereIdCardHandPhoto($value)
  550. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereRealName($value)
  551. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereState($value)
  552. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereUpdatedAt($value)
  553. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord withTrashed()
  554. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord withoutTrashed()
  555. */
  556. class CoachRealRecord extends \Eloquent {}
  557. }
  558. namespace App\Models{
  559. /**
  560. * 技师排班
  561. *
  562. * @property int $id
  563. * @property int $coach_id 技师ID
  564. * @property string $time_ranges 时间段JSON
  565. * @property int $state 状态:1-启用 2-禁用
  566. * @property \Illuminate\Support\Carbon|null $created_at
  567. * @property \Illuminate\Support\Carbon|null $updated_at
  568. * @property \Illuminate\Support\Carbon|null $deleted_at
  569. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule newModelQuery()
  570. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule newQuery()
  571. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule onlyTrashed()
  572. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule query()
  573. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule whereCoachId($value)
  574. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule whereCreatedAt($value)
  575. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule whereDeletedAt($value)
  576. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule whereId($value)
  577. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule whereState($value)
  578. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule whereTimeRanges($value)
  579. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule whereUpdatedAt($value)
  580. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule withTrashed()
  581. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule withoutTrashed()
  582. */
  583. class CoachSchedule extends \Eloquent {}
  584. }
  585. namespace App\Models{
  586. /**
  587. * 技师评分
  588. *
  589. * @property int $id
  590. * @property int $coach_id 技师编号
  591. * @property int|null $service_duration 服务时长(分钟)
  592. * @property int|null $order_count 订单数量
  593. * @property string|null $good_rate 好评率
  594. * @property string|null $efficiency 服务效率
  595. * @property string|null $punctual_rate 准时率
  596. * @property string|null $completion_rate 完成率
  597. * @property string|null $rating_score 评价得分
  598. * @property \Illuminate\Support\Carbon|null $created_at
  599. * @property \Illuminate\Support\Carbon|null $updated_at
  600. * @property \Illuminate\Support\Carbon|null $deleted_at
  601. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore newModelQuery()
  602. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore newQuery()
  603. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore onlyTrashed()
  604. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore query()
  605. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereCoachId($value)
  606. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereCompletionRate($value)
  607. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereCreatedAt($value)
  608. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereDeletedAt($value)
  609. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereEfficiency($value)
  610. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereGoodRate($value)
  611. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereId($value)
  612. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereOrderCount($value)
  613. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore wherePunctualRate($value)
  614. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereRatingScore($value)
  615. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereServiceDuration($value)
  616. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereUpdatedAt($value)
  617. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore withTrashed()
  618. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore withoutTrashed()
  619. */
  620. class CoachScore extends \Eloquent {}
  621. }
  622. namespace App\Models{
  623. /**
  624. *
  625. *
  626. * @property int $id
  627. * @property int $coach_id 技师ID
  628. * @property numeric $avg_score 平均评分
  629. * @property int $comment_count 评价总数
  630. * @property int $good_comment_count 好评数(4-5分)
  631. * @property int $medium_comment_count 中评数(3分)
  632. * @property int $bad_comment_count 差评数(1-2分)
  633. * @property array|null $tag_statistics 标签统计 JSON格式
  634. * @property \Illuminate\Support\Carbon|null $created_at
  635. * @property \Illuminate\Support\Carbon|null $updated_at
  636. * @property-read \App\Models\CoachUser|null $coach
  637. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic newModelQuery()
  638. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic newQuery()
  639. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic query()
  640. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereAvgScore($value)
  641. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereBadCommentCount($value)
  642. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereCoachId($value)
  643. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereCommentCount($value)
  644. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereCreatedAt($value)
  645. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereGoodCommentCount($value)
  646. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereId($value)
  647. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereMediumCommentCount($value)
  648. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereTagStatistics($value)
  649. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereUpdatedAt($value)
  650. */
  651. class CoachStatistic extends \Eloquent {}
  652. }
  653. namespace App\Models{
  654. /**
  655. * 技师用户模型
  656. *
  657. * @property int $id
  658. * @property int $user_id 用户编号
  659. * @property int|null $info_record_id 技师信息记录编号
  660. * @property int|null $real_auth_record_id 技师实名认证记录编号
  661. * @property int|null $qualification_record_id 技师资质认证记录编号
  662. * @property int|null $shop_id 店铺编号
  663. * @property int|null $level 技师等级
  664. * @property int|null $virtual_order 虚拟订单数
  665. * @property string|null $score 评分
  666. * @property int $work_status 工作状态
  667. * @property int $virtual_status 虚拟状态
  668. * @property int $state 状态
  669. * @property \Illuminate\Support\Carbon|null $created_at
  670. * @property \Illuminate\Support\Carbon|null $updated_at
  671. * @property \Illuminate\Support\Carbon|null $deleted_at
  672. * @property int|null $is_vip 是否是会员 0否 1是
  673. * @property string|null $vip_time 开通会员时间
  674. * @property string|null $invite_code 邀请码
  675. * @property string|null $qr_code 二维码地址
  676. * @property string|null $formal_photo 正装照片
  677. * @property string|null $formal_photo_remark 正装照片备注
  678. * @property string|null $formal_photo_updated_at 正装照片更新时间
  679. * @property int|null $formal_photo_admin_id 上传正装照片的管理员ID
  680. * @property int $newcomer_sort 新人组排序(数字越大越靠前)
  681. * @property string|null $newcomer_sort_updated_at 新人组排序更新时间
  682. * @property int|null $newcomer_sort_admin_id 设置新人组排序的管理员ID
  683. * @property-read string $state_text
  684. * @property-read \App\Models\CoachInfoRecord|null $info
  685. * @property-read \App\Models\CoachStatistic|null $statistic
  686. * @property-read \App\Models\MemberUser|null $user
  687. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser newModelQuery()
  688. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser newQuery()
  689. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser onlyTrashed()
  690. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser query()
  691. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereCreatedAt($value)
  692. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereDeletedAt($value)
  693. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereFormalPhoto($value)
  694. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereFormalPhotoAdminId($value)
  695. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereFormalPhotoRemark($value)
  696. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereFormalPhotoUpdatedAt($value)
  697. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereId($value)
  698. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereInfoRecordId($value)
  699. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereInviteCode($value)
  700. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereIsVip($value)
  701. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereLevel($value)
  702. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereNewcomerSort($value)
  703. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereNewcomerSortAdminId($value)
  704. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereNewcomerSortUpdatedAt($value)
  705. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereQrCode($value)
  706. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereQualificationRecordId($value)
  707. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereRealAuthRecordId($value)
  708. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereScore($value)
  709. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereShopId($value)
  710. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereState($value)
  711. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereUpdatedAt($value)
  712. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereUserId($value)
  713. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereVipTime($value)
  714. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereVirtualOrder($value)
  715. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereVirtualStatus($value)
  716. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereWorkStatus($value)
  717. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser withTrashed()
  718. * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser withoutTrashed()
  719. */
  720. class CoachUser extends \Eloquent {}
  721. }
  722. namespace App\Models{
  723. /**
  724. * 我的分销团队
  725. *
  726. * @property int $id 分销团队编号
  727. * @property int $object_id 对象编号
  728. * @property string $object_type 对象类型
  729. * @property int $user_id 被邀用户编号
  730. * @property int $level 层级
  731. * @property int $state 状态
  732. * @property \Illuminate\Support\Carbon|null $created_at 创建时间
  733. * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
  734. * @property \Illuminate\Support\Carbon|null $deleted_at 删除时间
  735. * @property-read \Illuminate\Database\Eloquent\Model|\Eloquent $inviter
  736. * @property-read \App\Models\MemberUser $user
  737. * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam newModelQuery()
  738. * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam newQuery()
  739. * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam onlyTrashed()
  740. * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam query()
  741. * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam whereCreatedAt($value)
  742. * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam whereDeletedAt($value)
  743. * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam whereId($value)
  744. * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam whereLevel($value)
  745. * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam whereObjectId($value)
  746. * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam whereObjectType($value)
  747. * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam whereState($value)
  748. * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam whereUpdatedAt($value)
  749. * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam whereUserId($value)
  750. * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam withTrashed()
  751. * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam withoutTrashed()
  752. */
  753. class MarketDistTeam extends \Eloquent {}
  754. }
  755. namespace App\Models{
  756. /**
  757. * 用户地址
  758. *
  759. * @property int $id
  760. * @property int $user_id 用户编号
  761. * @property string|null $phone 联系电话
  762. * @property string $location 定位地址
  763. * @property string|null $detail 详细地址
  764. * @property string $province 省
  765. * @property string $city 市
  766. * @property string $district 区
  767. * @property string $longitude 经度
  768. * @property string $latitude 纬度
  769. * @property string $area_code 行政区划代码
  770. * @property int $is_default 是否默认地址
  771. * @property \Illuminate\Support\Carbon|null $created_at
  772. * @property \Illuminate\Support\Carbon|null $updated_at
  773. * @property \Illuminate\Support\Carbon|null $deleted_at
  774. * @property-read \App\Models\MemberUser|null $member
  775. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress newModelQuery()
  776. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress newQuery()
  777. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress onlyTrashed()
  778. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress query()
  779. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereAreaCode($value)
  780. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereCity($value)
  781. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereCreatedAt($value)
  782. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereDeletedAt($value)
  783. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereDetail($value)
  784. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereDistrict($value)
  785. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereId($value)
  786. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereIsDefault($value)
  787. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereLatitude($value)
  788. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereLocation($value)
  789. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereLongitude($value)
  790. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress wherePhone($value)
  791. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereProvince($value)
  792. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereUpdatedAt($value)
  793. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereUserId($value)
  794. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress withTrashed()
  795. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress withoutTrashed()
  796. */
  797. class MemberAddress extends \Eloquent {}
  798. }
  799. namespace App\Models{
  800. /**
  801. *
  802. *
  803. * @property int $id
  804. * @property int $user_id 用户ID
  805. * @property int $type 不良行为类型
  806. * @property string $title 标题
  807. * @property string $description 详细描述
  808. * @property array|null $evidence 证据(图片/视频)
  809. * @property int|null $related_order_id 关联订单ID
  810. * @property int $operator_id 操作人ID
  811. * @property string $operator_type 操作人类型
  812. * @property \Illuminate\Support\Carbon $occurred_at 发生时间
  813. * @property \Illuminate\Support\Carbon|null $created_at
  814. * @property \Illuminate\Support\Carbon|null $updated_at
  815. * @property \Illuminate\Support\Carbon|null $deleted_at
  816. * @property-read \App\Models\Order|null $order
  817. * @property-read \App\Models\MemberUser|null $user
  818. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior newModelQuery()
  819. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior newQuery()
  820. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior onlyTrashed()
  821. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior query()
  822. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereCreatedAt($value)
  823. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereDeletedAt($value)
  824. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereDescription($value)
  825. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereEvidence($value)
  826. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereId($value)
  827. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereOccurredAt($value)
  828. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereOperatorId($value)
  829. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereOperatorType($value)
  830. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereRelatedOrderId($value)
  831. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereTitle($value)
  832. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereType($value)
  833. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereUpdatedAt($value)
  834. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereUserId($value)
  835. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior withTrashed()
  836. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior withoutTrashed()
  837. */
  838. class MemberBadBehavior extends \Eloquent {}
  839. }
  840. namespace App\Models{
  841. /**
  842. * 用户实名认证记录
  843. *
  844. * @property int $id
  845. * @property int $user_id 用户编号
  846. * @property string $real_name 真实姓名
  847. * @property string $id_card 身份证号
  848. * @property string $id_card_front_photo 身份证正面照片
  849. * @property string $id_card_back_photo 身份证反面照片
  850. * @property string $id_card_hand_photo 手持身份证照片
  851. * @property string|null $auditor 审核人
  852. * @property string|null $audit_time 审核时间
  853. * @property string|null $audit_remark 审核回执
  854. * @property string $state 状态
  855. * @property \Illuminate\Support\Carbon|null $created_at
  856. * @property \Illuminate\Support\Carbon|null $updated_at
  857. * @property \Illuminate\Support\Carbon|null $deleted_at
  858. * @property-read \App\Models\MemberUser|null $member
  859. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord newModelQuery()
  860. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord newQuery()
  861. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord onlyTrashed()
  862. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord query()
  863. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereAuditRemark($value)
  864. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereAuditTime($value)
  865. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereAuditor($value)
  866. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereCreatedAt($value)
  867. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereDeletedAt($value)
  868. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereId($value)
  869. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereIdCard($value)
  870. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereIdCardBackPhoto($value)
  871. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereIdCardFrontPhoto($value)
  872. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereIdCardHandPhoto($value)
  873. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereRealName($value)
  874. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereState($value)
  875. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereUpdatedAt($value)
  876. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereUserId($value)
  877. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord withTrashed()
  878. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord withoutTrashed()
  879. */
  880. class MemberRealAuthRecord extends \Eloquent {}
  881. }
  882. namespace App\Models{
  883. /**
  884. * 用户社交账号
  885. *
  886. * @property int $id
  887. * @property int|null $user_id 用户编号
  888. * @property string|null $platform 社交平台
  889. * @property string|null $social_id 社交账号
  890. * @property string|null $nickname 昵称
  891. * @property string|null $avatar 头像
  892. * @property \Illuminate\Support\Carbon|null $created_at
  893. * @property \Illuminate\Support\Carbon|null $updated_at
  894. * @property \Illuminate\Support\Carbon|null $deleted_at
  895. * @property-read \App\Models\MemberUser|null $member
  896. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount newModelQuery()
  897. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount newQuery()
  898. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount onlyTrashed()
  899. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount query()
  900. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount whereAvatar($value)
  901. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount whereCreatedAt($value)
  902. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount whereDeletedAt($value)
  903. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount whereId($value)
  904. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount whereNickname($value)
  905. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount wherePlatform($value)
  906. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount whereSocialId($value)
  907. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount whereUpdatedAt($value)
  908. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount whereUserId($value)
  909. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount withTrashed()
  910. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount withoutTrashed()
  911. */
  912. class MemberSocialAccount extends \Eloquent {}
  913. }
  914. namespace App\Models{
  915. /**
  916. *
  917. *
  918. * @property int $id
  919. * @property string|null $mobile 手机号
  920. * @property string|null $password 密码
  921. * @property string|null $nickname 昵称
  922. * @property string|null $avatar 头像
  923. * @property string|null $gender 性别
  924. * @property string|null $register_area 注册地(行政区划代码)
  925. * @property int|null $state 状态
  926. * @property \Illuminate\Support\Carbon|null $created_at
  927. * @property \Illuminate\Support\Carbon|null $updated_at
  928. * @property \Illuminate\Support\Carbon|null $deleted_at
  929. * @property string|null $last_login_time 最近登录时间
  930. * @property string|null $invite_code 邀请码
  931. * @property string|null $qrcode 二维码
  932. * @property string|null $scene 使用场景
  933. * @property-read \App\Models\MemberAddress|null $address
  934. * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\MemberAddress> $addresses
  935. * @property-read int|null $addresses_count
  936. * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Order> $orders
  937. * @property-read int|null $orders_count
  938. * @property-read \Illuminate\Database\Eloquent\Collection<int, \Slowlyo\OwlAdmin\Models\PersonalAccessToken> $tokens
  939. * @property-read int|null $tokens_count
  940. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser newModelQuery()
  941. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser newQuery()
  942. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser onlyTrashed()
  943. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser query()
  944. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereAvatar($value)
  945. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereCreatedAt($value)
  946. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereDeletedAt($value)
  947. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereGender($value)
  948. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereId($value)
  949. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereInviteCode($value)
  950. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereLastLoginTime($value)
  951. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereMobile($value)
  952. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereNickname($value)
  953. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser wherePassword($value)
  954. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereQrcode($value)
  955. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereRegisterArea($value)
  956. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereScene($value)
  957. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereState($value)
  958. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereUpdatedAt($value)
  959. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser withTrashed()
  960. * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser withoutTrashed()
  961. */
  962. class MemberUser extends \Eloquent {}
  963. }
  964. namespace App\Models{
  965. /**
  966. * 订单
  967. *
  968. * @property int $id 订单编号
  969. * @property int $user_id 用户编号
  970. * @property int|null $coach_id 技师编号
  971. * @property int $project_id 项目编号
  972. * @property int|null $channel_id 渠道编号
  973. * @property int|null $shop_id 店铺编号
  974. * @property int|null $agent_id 代理编号
  975. * @property int|null $customer_service_id 跟单客服编号
  976. * @property string|null $order_no 订单交易编号
  977. * @property int $type 订单类型
  978. * @property int $source 订单来源
  979. * @property int|null $payment_type 支付类型
  980. * @property string $project_amount 项目金额
  981. * @property string|null $traffic_amount 路费金额
  982. * @property string $total_amount 订单金额
  983. * @property string|null $balance_amount 余额抵扣金额
  984. * @property string $pay_amount 实付金额
  985. * @property string|null $discount_amount 优惠卷金额
  986. * @property string|null $tip_amount 打赏金额
  987. * @property string|null $service_snapshot 项目快照
  988. * @property string $service_time 服务时间
  989. * @property int|null $distance 目的地距离(米)
  990. * @property string $latitude 目的地纬度
  991. * @property string $longitude 目的地经度
  992. * @property string $location 目的地定位地址
  993. * @property string|null $address 目的地详细地址
  994. * @property string $area_code 目的地行政区划代码
  995. * @property string|null $remark 订单备注
  996. * @property int $state 订单状态
  997. * @property int|null $address_id 用户地址ID
  998. * @property \Illuminate\Support\Carbon|null $created_at 创建时间
  999. * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
  1000. * @property \Illuminate\Support\Carbon|null $deleted_at 删除时间
  1001. * @property string|null $service_start_time 服务开始时间
  1002. * @property string|null $service_end_time 服务结束时间
  1003. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order newModelQuery()
  1004. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order newQuery()
  1005. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order onlyTrashed()
  1006. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order query()
  1007. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereAddress($value)
  1008. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereAddressId($value)
  1009. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereAgentId($value)
  1010. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereAreaCode($value)
  1011. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereBalanceAmount($value)
  1012. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereChannelId($value)
  1013. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereCoachId($value)
  1014. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereCreatedAt($value)
  1015. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereCustomerServiceId($value)
  1016. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereDeletedAt($value)
  1017. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereDiscountAmount($value)
  1018. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereDistance($value)
  1019. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereId($value)
  1020. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereLatitude($value)
  1021. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereLocation($value)
  1022. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereLongitude($value)
  1023. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereOrderNo($value)
  1024. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order wherePayAmount($value)
  1025. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order wherePaymentType($value)
  1026. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereProjectAmount($value)
  1027. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereProjectId($value)
  1028. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereRemark($value)
  1029. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereServiceEndTime($value)
  1030. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereServiceSnapshot($value)
  1031. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereServiceStartTime($value)
  1032. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereServiceTime($value)
  1033. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereShopId($value)
  1034. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereSource($value)
  1035. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereState($value)
  1036. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereTipAmount($value)
  1037. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereTotalAmount($value)
  1038. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereTrafficAmount($value)
  1039. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereType($value)
  1040. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereUpdatedAt($value)
  1041. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereUserId($value)
  1042. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order withTrashed()
  1043. * @method static \Illuminate\Database\Eloquent\Builder<static>|Order withoutTrashed()
  1044. */
  1045. class Order extends \Eloquent {}
  1046. }
  1047. namespace App\Models{
  1048. /**
  1049. * 订单评论
  1050. *
  1051. * @property int $id
  1052. * @property int $order_id 订单编号
  1053. * @property int $user_id 用户编号
  1054. * @property int $coach_id 技师编号
  1055. * @property string|null $content 评论内容
  1056. * @property int $rating 评论星级
  1057. * @property string $state 状态
  1058. * @property \Illuminate\Support\Carbon|null $created_at
  1059. * @property \Illuminate\Support\Carbon|null $updated_at
  1060. * @property \Illuminate\Support\Carbon|null $deleted_at
  1061. * @property-read \App\Models\CoachUser|null $coach
  1062. * @property-read \App\Models\MemberUser|null $member
  1063. * @property-read \App\Models\Order|null $order
  1064. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment newModelQuery()
  1065. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment newQuery()
  1066. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment onlyTrashed()
  1067. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment query()
  1068. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereCoachId($value)
  1069. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereContent($value)
  1070. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereCreatedAt($value)
  1071. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereDeletedAt($value)
  1072. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereId($value)
  1073. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereOrderId($value)
  1074. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereRating($value)
  1075. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereState($value)
  1076. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereUpdatedAt($value)
  1077. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereUserId($value)
  1078. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment withTrashed()
  1079. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment withoutTrashed()
  1080. */
  1081. class OrderComment extends \Eloquent {}
  1082. }
  1083. namespace App\Models{
  1084. /**
  1085. * 订单分销记录
  1086. *
  1087. * @property int $id
  1088. * @property int $order_id 订单编号
  1089. * @property int $object_id 对象编号
  1090. * @property string $object_type 对象类型
  1091. * @property string $dist_type 分销类型
  1092. * @property string $amount 分销金额
  1093. * @property \Illuminate\Support\Carbon|null $created_at
  1094. * @property \Illuminate\Support\Carbon|null $updated_at
  1095. * @property \Illuminate\Support\Carbon|null $deleted_at
  1096. * @property-read \App\Models\Order|null $order
  1097. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord newModelQuery()
  1098. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord newQuery()
  1099. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord onlyTrashed()
  1100. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord query()
  1101. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord whereAmount($value)
  1102. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord whereCreatedAt($value)
  1103. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord whereDeletedAt($value)
  1104. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord whereDistType($value)
  1105. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord whereId($value)
  1106. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord whereObjectId($value)
  1107. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord whereObjectType($value)
  1108. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord whereOrderId($value)
  1109. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord whereUpdatedAt($value)
  1110. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord withTrashed()
  1111. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord withoutTrashed()
  1112. */
  1113. class OrderDistRecord extends \Eloquent {}
  1114. }
  1115. namespace App\Models{
  1116. /**
  1117. * 订单异常记录
  1118. *
  1119. * @property int $id
  1120. * @property int $order_id 订单编号
  1121. * @property int|null $customer_service_id 跟单客服编号
  1122. * @property string $type 异常类型
  1123. * @property string $reason 异常原因
  1124. * @property string|null $remark 备注
  1125. * @property string $state 状态
  1126. * @property \Illuminate\Support\Carbon|null $created_at
  1127. * @property \Illuminate\Support\Carbon|null $updated_at
  1128. * @property \Illuminate\Support\Carbon|null $deleted_at
  1129. * @property-read \App\Models\Order|null $order
  1130. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord newModelQuery()
  1131. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord newQuery()
  1132. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord onlyTrashed()
  1133. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord query()
  1134. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereCreatedAt($value)
  1135. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereCustomerServiceId($value)
  1136. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereDeletedAt($value)
  1137. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereId($value)
  1138. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereOrderId($value)
  1139. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereReason($value)
  1140. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereRemark($value)
  1141. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereState($value)
  1142. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereType($value)
  1143. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereUpdatedAt($value)
  1144. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord withTrashed()
  1145. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord withoutTrashed()
  1146. */
  1147. class OrderExcRecord extends \Eloquent {}
  1148. }
  1149. namespace App\Models{
  1150. /**
  1151. * 订单抢单记录
  1152. *
  1153. * @property int $id
  1154. * @property int $coach_id 技师编号
  1155. * @property int $order_id 订单编号
  1156. * @property string|null $distance 公里数
  1157. * @property int $state 状态
  1158. * @property \Illuminate\Support\Carbon|null $created_at
  1159. * @property \Illuminate\Support\Carbon|null $updated_at
  1160. * @property \Illuminate\Support\Carbon|null $deleted_at
  1161. * @property-read \App\Models\CoachUser|null $coach
  1162. * @property-read \App\Models\Order|null $order
  1163. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord newModelQuery()
  1164. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord newQuery()
  1165. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord onlyTrashed()
  1166. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord query()
  1167. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord whereCoachId($value)
  1168. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord whereCreatedAt($value)
  1169. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord whereDeletedAt($value)
  1170. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord whereDistance($value)
  1171. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord whereId($value)
  1172. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord whereOrderId($value)
  1173. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord whereState($value)
  1174. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord whereUpdatedAt($value)
  1175. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord withTrashed()
  1176. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord withoutTrashed()
  1177. */
  1178. class OrderGrabRecord extends \Eloquent {}
  1179. }
  1180. namespace App\Models{
  1181. /**
  1182. * 订单记录
  1183. *
  1184. * @property int $id
  1185. * @property int $order_id 订单编号
  1186. * @property int $object_id 对象编号
  1187. * @property int|null $old_coach_id 原技师编号
  1188. * @property int|null $new_coach_id 新技师编号
  1189. * @property string $object_type 对象类型
  1190. * @property int $state 记录状态
  1191. * @property string|null $remark 备注
  1192. * @property string|null $change_reason 更换原因
  1193. * @property \Illuminate\Support\Carbon|null $created_at
  1194. * @property \Illuminate\Support\Carbon|null $updated_at
  1195. * @property \Illuminate\Support\Carbon|null $deleted_at
  1196. * @property-read \App\Models\Order|null $order
  1197. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord newModelQuery()
  1198. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord newQuery()
  1199. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord onlyTrashed()
  1200. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord query()
  1201. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereChangeReason($value)
  1202. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereCreatedAt($value)
  1203. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereDeletedAt($value)
  1204. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereId($value)
  1205. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereNewCoachId($value)
  1206. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereObjectId($value)
  1207. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereObjectType($value)
  1208. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereOldCoachId($value)
  1209. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereOrderId($value)
  1210. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereRemark($value)
  1211. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereState($value)
  1212. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereUpdatedAt($value)
  1213. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord withTrashed()
  1214. * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord withoutTrashed()
  1215. */
  1216. class OrderRecord extends \Eloquent {}
  1217. }
  1218. namespace App\Models{
  1219. /**
  1220. * 项目服务
  1221. *
  1222. * @property int $id
  1223. * @property int $cate_id 项目分类编号
  1224. * @property string|null $cover 项目封面
  1225. * @property string $title 项目标题
  1226. * @property string|null $subtitle 项目副标题
  1227. * @property string $price 项目金额
  1228. * @property string $original_price 项目原价
  1229. * @property int|null $sales 虚拟销量
  1230. * @property int $duration 服务时长
  1231. * @property string|null $project_desc 项目介绍
  1232. * @property string|null $service_desc 服务说明
  1233. * @property string $type 服务类型
  1234. * @property string $state 状态
  1235. * @property \Illuminate\Support\Carbon|null $created_at
  1236. * @property \Illuminate\Support\Carbon|null $updated_at
  1237. * @property \Illuminate\Support\Carbon|null $deleted_at
  1238. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project newModelQuery()
  1239. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project newQuery()
  1240. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project onlyTrashed()
  1241. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project query()
  1242. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereCateId($value)
  1243. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereCover($value)
  1244. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereCreatedAt($value)
  1245. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereDeletedAt($value)
  1246. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereDuration($value)
  1247. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereId($value)
  1248. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereOriginalPrice($value)
  1249. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project wherePrice($value)
  1250. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereProjectDesc($value)
  1251. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereSales($value)
  1252. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereServiceDesc($value)
  1253. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereState($value)
  1254. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereSubtitle($value)
  1255. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereTitle($value)
  1256. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereType($value)
  1257. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereUpdatedAt($value)
  1258. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project withTrashed()
  1259. * @method static \Illuminate\Database\Eloquent\Builder<static>|Project withoutTrashed()
  1260. */
  1261. class Project extends \Eloquent {}
  1262. }
  1263. namespace App\Models{
  1264. /**
  1265. * 项目分类
  1266. *
  1267. * @property int $id
  1268. * @property string $name 项目分类名称
  1269. * @property string|null $cover 分类封面
  1270. * @property int|null $sort 排序
  1271. * @property string $state 状态
  1272. * @property \Illuminate\Support\Carbon|null $created_at
  1273. * @property \Illuminate\Support\Carbon|null $updated_at
  1274. * @property \Illuminate\Support\Carbon|null $deleted_at
  1275. * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Project> $projects
  1276. * @property-read int|null $projects_count
  1277. * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate newModelQuery()
  1278. * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate newQuery()
  1279. * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate onlyTrashed()
  1280. * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate query()
  1281. * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate whereCover($value)
  1282. * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate whereCreatedAt($value)
  1283. * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate whereDeletedAt($value)
  1284. * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate whereId($value)
  1285. * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate whereName($value)
  1286. * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate whereSort($value)
  1287. * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate whereState($value)
  1288. * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate whereUpdatedAt($value)
  1289. * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate withTrashed()
  1290. * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate withoutTrashed()
  1291. */
  1292. class ProjectCate extends \Eloquent {}
  1293. }
  1294. namespace App\Models{
  1295. /**
  1296. * 临时用户列表
  1297. *
  1298. * @method static \Illuminate\Database\Eloquent\Builder<static>|ReportUserList newModelQuery()
  1299. * @method static \Illuminate\Database\Eloquent\Builder<static>|ReportUserList newQuery()
  1300. * @method static \Illuminate\Database\Eloquent\Builder<static>|ReportUserList onlyTrashed()
  1301. * @method static \Illuminate\Database\Eloquent\Builder<static>|ReportUserList query()
  1302. * @method static \Illuminate\Database\Eloquent\Builder<static>|ReportUserList withTrashed()
  1303. * @method static \Illuminate\Database\Eloquent\Builder<static>|ReportUserList withoutTrashed()
  1304. */
  1305. class ReportUserList extends \Eloquent {}
  1306. }
  1307. namespace App\Models{
  1308. /**
  1309. * 设置分组管理
  1310. *
  1311. * @property int $id 主键ID
  1312. * @property string $code 设置组编码
  1313. * @property string $name 设置组名称
  1314. * @property string|null $description 设置组描述
  1315. * @property int $sort 排序
  1316. * @property \Illuminate\Support\Carbon|null $created_at
  1317. * @property \Illuminate\Support\Carbon|null $updated_at
  1318. * @property \Illuminate\Support\Carbon|null $deleted_at
  1319. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup newModelQuery()
  1320. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup newQuery()
  1321. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup onlyTrashed()
  1322. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup query()
  1323. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup whereCode($value)
  1324. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup whereCreatedAt($value)
  1325. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup whereDeletedAt($value)
  1326. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup whereDescription($value)
  1327. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup whereId($value)
  1328. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup whereName($value)
  1329. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup whereSort($value)
  1330. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup whereUpdatedAt($value)
  1331. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup withTrashed()
  1332. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup withoutTrashed()
  1333. */
  1334. class SettingGroup extends \Eloquent {}
  1335. }
  1336. namespace App\Models{
  1337. /**
  1338. * 设置项
  1339. *
  1340. * @property int $id 主键ID
  1341. * @property int $group_id 设置组ID
  1342. * @property string $code 设置项编码
  1343. * @property string $name 设置项名称
  1344. * @property string|null $description 设置项描述
  1345. * @property string $value_type 值类型:string,number,boolean,json
  1346. * @property string|null $default_value 默认值
  1347. * @property string|null $min_value 最小值(数值类型)
  1348. * @property string|null $max_value 最大值(数值类型)
  1349. * @property string|null $options 可选值(json格式)
  1350. * @property int $sort 排序
  1351. * @property \Illuminate\Support\Carbon|null $created_at
  1352. * @property \Illuminate\Support\Carbon|null $updated_at
  1353. * @property \Illuminate\Support\Carbon|null $deleted_at
  1354. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem newModelQuery()
  1355. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem newQuery()
  1356. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem onlyTrashed()
  1357. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem query()
  1358. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereCode($value)
  1359. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereCreatedAt($value)
  1360. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereDefaultValue($value)
  1361. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereDeletedAt($value)
  1362. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereDescription($value)
  1363. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereGroupId($value)
  1364. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereId($value)
  1365. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereMaxValue($value)
  1366. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereMinValue($value)
  1367. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereName($value)
  1368. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereOptions($value)
  1369. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereSort($value)
  1370. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereUpdatedAt($value)
  1371. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereValueType($value)
  1372. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem withTrashed()
  1373. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem withoutTrashed()
  1374. */
  1375. class SettingItem extends \Eloquent {}
  1376. }
  1377. namespace App\Models{
  1378. /**
  1379. * 设置权限管理
  1380. *
  1381. * @property int $id 主键ID
  1382. * @property int $item_id 设置项ID
  1383. * @property string $object_type 业务对象类型:PLATFORM,AGENT,SHOP,COACH
  1384. * @property int $can_edit 是否可编辑
  1385. * @property string|null $min_value 最小值限制
  1386. * @property string|null $max_value 最大值限制
  1387. * @property string|null $options 可选值限制
  1388. * @property \Illuminate\Support\Carbon|null $created_at
  1389. * @property \Illuminate\Support\Carbon|null $updated_at
  1390. * @property \Illuminate\Support\Carbon|null $deleted_at
  1391. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission newModelQuery()
  1392. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission newQuery()
  1393. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission onlyTrashed()
  1394. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission query()
  1395. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereCanEdit($value)
  1396. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereCreatedAt($value)
  1397. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereDeletedAt($value)
  1398. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereId($value)
  1399. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereItemId($value)
  1400. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereMaxValue($value)
  1401. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereMinValue($value)
  1402. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereObjectType($value)
  1403. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereOptions($value)
  1404. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereUpdatedAt($value)
  1405. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission withTrashed()
  1406. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission withoutTrashed()
  1407. */
  1408. class SettingPermission extends \Eloquent {}
  1409. }
  1410. namespace App\Models{
  1411. /**
  1412. * 设置值管理
  1413. *
  1414. * @property int $id 主键ID
  1415. * @property int $item_id 设置项ID
  1416. * @property string $object_type 业务对象类型:PLATFORM,AGENT,SHOP,COACH
  1417. * @property int $object_id 业务对象ID
  1418. * @property string $value 设置值
  1419. * @property \Illuminate\Support\Carbon|null $created_at
  1420. * @property \Illuminate\Support\Carbon|null $updated_at
  1421. * @property \Illuminate\Support\Carbon|null $deleted_at
  1422. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue newModelQuery()
  1423. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue newQuery()
  1424. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue onlyTrashed()
  1425. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue query()
  1426. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue whereCreatedAt($value)
  1427. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue whereDeletedAt($value)
  1428. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue whereId($value)
  1429. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue whereItemId($value)
  1430. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue whereObjectId($value)
  1431. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue whereObjectType($value)
  1432. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue whereUpdatedAt($value)
  1433. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue whereValue($value)
  1434. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue withTrashed()
  1435. * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue withoutTrashed()
  1436. */
  1437. class SettingValue extends \Eloquent {}
  1438. }
  1439. namespace App\Models{
  1440. /**
  1441. * 店铺认证记录
  1442. *
  1443. * @property int $id
  1444. * @property int $shop_id 店铺编号
  1445. * @property string $shop_name 店铺名称
  1446. * @property string|null $shop_desc 店铺描述
  1447. * @property string $shop_address 店铺地址
  1448. * @property string $contact_phone 店铺联系电话
  1449. * @property string $contact_name 店铺联系人
  1450. * @property string $contact_id_card 店铺联系人身份证
  1451. * @property string $id_card_front_photo 店铺联系人身份证正面
  1452. * @property string $id_card_back_photo 店铺联系人身份证反面
  1453. * @property string $business_license 店铺营业执照
  1454. * @property string $license_front_photo 店铺营业执照正面
  1455. * @property string $license_back_photo 店铺营业执照反面
  1456. * @property string $storefront_photo 店铺门头照
  1457. * @property string $storefront_front_photo 店铺门头照正面
  1458. * @property string $storefront_back_photo 店铺门头照反面
  1459. * @property string $longitude 店铺经营地址经度
  1460. * @property string $latitude 店铺经营地址纬度
  1461. * @property string $operating_area 店铺经营面积
  1462. * @property int $operating_years 店铺经营年限
  1463. * @property int $technician_count 店铺技师人数
  1464. * @property string|null $business_hours 店铺营业时间
  1465. * @property string|null $rating 评分
  1466. * @property string|null $auditor 审核人
  1467. * @property string|null $audit_time 审核时间
  1468. * @property string|null $audit_remark 审核回馈
  1469. * @property string $state 审核状态
  1470. * @property \Illuminate\Support\Carbon|null $created_at
  1471. * @property \Illuminate\Support\Carbon|null $updated_at
  1472. * @property \Illuminate\Support\Carbon|null $deleted_at
  1473. * @property-read \App\Models\ShopInfo|null $shop
  1474. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord newModelQuery()
  1475. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord newQuery()
  1476. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord onlyTrashed()
  1477. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord query()
  1478. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereAuditRemark($value)
  1479. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereAuditTime($value)
  1480. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereAuditor($value)
  1481. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereBusinessHours($value)
  1482. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereBusinessLicense($value)
  1483. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereContactIdCard($value)
  1484. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereContactName($value)
  1485. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereContactPhone($value)
  1486. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereCreatedAt($value)
  1487. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereDeletedAt($value)
  1488. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereId($value)
  1489. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereIdCardBackPhoto($value)
  1490. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereIdCardFrontPhoto($value)
  1491. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereLatitude($value)
  1492. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereLicenseBackPhoto($value)
  1493. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereLicenseFrontPhoto($value)
  1494. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereLongitude($value)
  1495. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereOperatingArea($value)
  1496. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereOperatingYears($value)
  1497. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereRating($value)
  1498. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereShopAddress($value)
  1499. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereShopDesc($value)
  1500. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereShopId($value)
  1501. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereShopName($value)
  1502. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereState($value)
  1503. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereStorefrontBackPhoto($value)
  1504. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereStorefrontFrontPhoto($value)
  1505. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereStorefrontPhoto($value)
  1506. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereTechnicianCount($value)
  1507. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereUpdatedAt($value)
  1508. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord withTrashed()
  1509. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord withoutTrashed()
  1510. */
  1511. class ShopAuthRecord extends \Eloquent {}
  1512. }
  1513. namespace App\Models{
  1514. /**
  1515. * 店铺技师服务项目
  1516. *
  1517. * @property int $id
  1518. * @property int $coach_id 技师编号
  1519. * @property int $shop_service_id 店铺服务项目编号
  1520. * @property string $state 状态
  1521. * @property \Illuminate\Support\Carbon|null $created_at
  1522. * @property \Illuminate\Support\Carbon|null $updated_at
  1523. * @property \Illuminate\Support\Carbon|null $deleted_at
  1524. * @property-read \App\Models\CoachUser|null $coach
  1525. * @property-read \App\Models\ShopService|null $shopService
  1526. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService newModelQuery()
  1527. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService newQuery()
  1528. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService onlyTrashed()
  1529. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService query()
  1530. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService whereCoachId($value)
  1531. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService whereCreatedAt($value)
  1532. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService whereDeletedAt($value)
  1533. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService whereId($value)
  1534. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService whereShopServiceId($value)
  1535. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService whereState($value)
  1536. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService whereUpdatedAt($value)
  1537. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService withTrashed()
  1538. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService withoutTrashed()
  1539. */
  1540. class ShopCoachService extends \Eloquent {}
  1541. }
  1542. namespace App\Models{
  1543. /**
  1544. * 店铺
  1545. *
  1546. * @property int $id
  1547. * @property int|null $auth_record_id 店铺认证记录编号
  1548. * @property int|null $salesperson_id 业务员编号
  1549. * @property string $state 状态
  1550. * @property \Illuminate\Support\Carbon|null $created_at
  1551. * @property \Illuminate\Support\Carbon|null $updated_at
  1552. * @property \Illuminate\Support\Carbon|null $deleted_at
  1553. * @property-read \App\Models\ShopAuthRecord|null $auth
  1554. * @property-read \App\Models\ShopAuthRecord|null $authRecord
  1555. * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\ShopAuthRecord> $authRecords
  1556. * @property-read int|null $auth_records_count
  1557. * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\CoachUser> $coaches
  1558. * @property-read int|null $coaches_count
  1559. * @property-read \App\Models\MemberUser|null $member
  1560. * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\ShopService> $services
  1561. * @property-read int|null $services_count
  1562. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo newModelQuery()
  1563. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo newQuery()
  1564. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo onlyTrashed()
  1565. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo query()
  1566. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo whereAuthRecordId($value)
  1567. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo whereCreatedAt($value)
  1568. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo whereDeletedAt($value)
  1569. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo whereId($value)
  1570. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo whereSalespersonId($value)
  1571. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo whereState($value)
  1572. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo whereUpdatedAt($value)
  1573. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo withTrashed()
  1574. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo withoutTrashed()
  1575. */
  1576. class ShopInfo extends \Eloquent {}
  1577. }
  1578. namespace App\Models{
  1579. /**
  1580. * 店铺服务
  1581. *
  1582. * @property int $id
  1583. * @property int $shop_id 店铺编号
  1584. * @property int $service_id 服务项目编号
  1585. * @property string $name 服务项目名称
  1586. * @property string|null $cover 服务项目封面
  1587. * @property string $price 服务项目价格
  1588. * @property int $duration 服务时长(分钟)
  1589. * @property string $type 服务类型
  1590. * @property string $state 状态
  1591. * @property \Illuminate\Support\Carbon|null $created_at
  1592. * @property \Illuminate\Support\Carbon|null $updated_at
  1593. * @property \Illuminate\Support\Carbon|null $deleted_at
  1594. * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\ShopCoachService> $coaches
  1595. * @property-read int|null $coaches_count
  1596. * @property-read \App\Models\Project|null $project
  1597. * @property-read \App\Models\ShopInfo|null $shop
  1598. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService newModelQuery()
  1599. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService newQuery()
  1600. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService onlyTrashed()
  1601. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService query()
  1602. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereCover($value)
  1603. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereCreatedAt($value)
  1604. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereDeletedAt($value)
  1605. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereDuration($value)
  1606. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereId($value)
  1607. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereName($value)
  1608. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService wherePrice($value)
  1609. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereServiceId($value)
  1610. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereShopId($value)
  1611. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereState($value)
  1612. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereType($value)
  1613. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereUpdatedAt($value)
  1614. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService withTrashed()
  1615. * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService withoutTrashed()
  1616. */
  1617. class ShopService extends \Eloquent {}
  1618. }
  1619. namespace App\Models{
  1620. /**
  1621. * 系统设置
  1622. *
  1623. * @property int $id
  1624. * @property string $key 配置项
  1625. * @property string $value 配置值
  1626. * @property \Illuminate\Support\Carbon|null $created_at
  1627. * @property \Illuminate\Support\Carbon|null $updated_at
  1628. * @property \Illuminate\Support\Carbon|null $deleted_at
  1629. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig newModelQuery()
  1630. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig newQuery()
  1631. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig onlyTrashed()
  1632. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig query()
  1633. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig whereCreatedAt($value)
  1634. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig whereDeletedAt($value)
  1635. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig whereId($value)
  1636. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig whereKey($value)
  1637. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig whereUpdatedAt($value)
  1638. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig whereValue($value)
  1639. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig withTrashed()
  1640. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig withoutTrashed()
  1641. */
  1642. class SysConfig extends \Eloquent {}
  1643. }
  1644. namespace App\Models{
  1645. /**
  1646. * 行政区划
  1647. *
  1648. * @property int $id
  1649. * @property string $cityName
  1650. * @property int $parentId
  1651. * @property string $shortName
  1652. * @property int $depth
  1653. * @property string $cityCode
  1654. * @property string $zipCode
  1655. * @property string $mergerName
  1656. * @property string $longitude
  1657. * @property string $latitude
  1658. * @property string $pinyin
  1659. * @property int|null $isUse
  1660. * @property \Illuminate\Support\Carbon|null $created_at
  1661. * @property \Illuminate\Support\Carbon|null $updated_at
  1662. * @property \Illuminate\Support\Carbon|null $deleted_at
  1663. * @property-read SysRegion|null $parentRegion
  1664. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion newModelQuery()
  1665. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion newQuery()
  1666. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion onlyTrashed()
  1667. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion query()
  1668. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereCityCode($value)
  1669. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereCityName($value)
  1670. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereCreatedAt($value)
  1671. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereDeletedAt($value)
  1672. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereDepth($value)
  1673. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereId($value)
  1674. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereIsUse($value)
  1675. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereLatitude($value)
  1676. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereLongitude($value)
  1677. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereMergerName($value)
  1678. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereParentId($value)
  1679. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion wherePinyin($value)
  1680. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereShortName($value)
  1681. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereUpdatedAt($value)
  1682. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereZipCode($value)
  1683. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion withTrashed()
  1684. * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion withoutTrashed()
  1685. */
  1686. class SysRegion extends \Eloquent {}
  1687. }
  1688. namespace App\Models{
  1689. /**
  1690. * 钱包
  1691. *
  1692. * @property int $id
  1693. * @property int $owner_id 所属主体编号
  1694. * @property string $owner_type 钱包类型
  1695. * @property string $total_balance 总余额
  1696. * @property string $available_balance 可用余额
  1697. * @property string $frozen_amount 冻结金额
  1698. * @property string $total_income 累计收入
  1699. * @property string $total_expense 累计支出
  1700. * @property string $state 状态
  1701. * @property \Illuminate\Support\Carbon|null $created_at
  1702. * @property \Illuminate\Support\Carbon|null $updated_at
  1703. * @property \Illuminate\Support\Carbon|null $deleted_at
  1704. * @property-read \App\Models\MemberUser|null $member
  1705. * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\WalletTransRecord> $transRecords
  1706. * @property-read int|null $trans_records_count
  1707. * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\WalletWithdrawRecord> $withdrawRecords
  1708. * @property-read int|null $withdraw_records_count
  1709. * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet newModelQuery()
  1710. * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet newQuery()
  1711. * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet onlyTrashed()
  1712. * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet query()
  1713. * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereAvailableBalance($value)
  1714. * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereCreatedAt($value)
  1715. * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereDeletedAt($value)
  1716. * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereFrozenAmount($value)
  1717. * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereId($value)
  1718. * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereOwnerId($value)
  1719. * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereOwnerType($value)
  1720. * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereState($value)
  1721. * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereTotalBalance($value)
  1722. * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereTotalExpense($value)
  1723. * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereTotalIncome($value)
  1724. * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereUpdatedAt($value)
  1725. * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet withTrashed()
  1726. * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet withoutTrashed()
  1727. */
  1728. class Wallet extends \Eloquent {}
  1729. }
  1730. namespace App\Models{
  1731. /**
  1732. * 钱包支付记录
  1733. *
  1734. * @property int $id
  1735. * @property int $order_id 订单编号
  1736. * @property int $wallet_id 钱包编号
  1737. * @property int|null $trans_record_id 交易记录编号
  1738. * @property string $payment_no 交易单号
  1739. * @property string $payment_method 支付方式
  1740. * @property string $total_amount 合计支付金额
  1741. * @property string $actual_amount 实际支付金额
  1742. * @property string $used_wallet_balance 使用钱包余额
  1743. * @property string $used_recharge_balance 使用充值余额
  1744. * @property string|null $payment_time 支付时间
  1745. * @property string|null $remark 备注
  1746. * @property string $state 状态
  1747. * @property \Illuminate\Support\Carbon|null $created_at
  1748. * @property \Illuminate\Support\Carbon|null $updated_at
  1749. * @property \Illuminate\Support\Carbon|null $deleted_at
  1750. * @property string|null $nickname 用户昵称
  1751. * @property string|null $area_code 区域
  1752. * @property int|null $recharge_setting_id 充值规则
  1753. * @property-read \App\Models\WalletTransRecord|null $trans
  1754. * @property-read \App\Models\Wallet|null $wallet
  1755. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord newModelQuery()
  1756. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord newQuery()
  1757. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord onlyTrashed()
  1758. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord query()
  1759. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereActualAmount($value)
  1760. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereAreaCode($value)
  1761. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereCreatedAt($value)
  1762. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereDeletedAt($value)
  1763. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereId($value)
  1764. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereNickname($value)
  1765. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereOrderId($value)
  1766. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord wherePaymentMethod($value)
  1767. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord wherePaymentNo($value)
  1768. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord wherePaymentTime($value)
  1769. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereRechargeSettingId($value)
  1770. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereRemark($value)
  1771. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereState($value)
  1772. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereTotalAmount($value)
  1773. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereTransRecordId($value)
  1774. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereUpdatedAt($value)
  1775. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereUsedRechargeBalance($value)
  1776. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereUsedWalletBalance($value)
  1777. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereWalletId($value)
  1778. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord withTrashed()
  1779. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord withoutTrashed()
  1780. */
  1781. class WalletPaymentRecord extends \Eloquent {}
  1782. }
  1783. namespace App\Models{
  1784. /**
  1785. * 钱包退款记录
  1786. *
  1787. * @property int $id
  1788. * @property int $order_id 订单编号
  1789. * @property int $wallet_id 钱包编号
  1790. * @property int|null $trans_record_id 交易记录编号
  1791. * @property string|null $external_no 外部交易单号
  1792. * @property string $refund_method 退款方式
  1793. * @property string $total_refund_amount 合计退款金额
  1794. * @property string $actual_refund_amount 实际退款金额
  1795. * @property string $wallet_balance_refund_amount 钱包余额退款金额
  1796. * @property string $recharge_balance_refund_amount 充值余额退款金额
  1797. * @property string|null $refund_time 退款时间
  1798. * @property string|null $remark 备注
  1799. * @property string $state 状态
  1800. * @property \Illuminate\Support\Carbon|null $created_at
  1801. * @property \Illuminate\Support\Carbon|null $updated_at
  1802. * @property \Illuminate\Support\Carbon|null $deleted_at
  1803. * @property-read \App\Models\WalletTransRecord|null $trans
  1804. * @property-read \App\Models\Wallet|null $wallet
  1805. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord newModelQuery()
  1806. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord newQuery()
  1807. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord onlyTrashed()
  1808. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord query()
  1809. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereActualRefundAmount($value)
  1810. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereCreatedAt($value)
  1811. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereDeletedAt($value)
  1812. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereExternalNo($value)
  1813. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereId($value)
  1814. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereOrderId($value)
  1815. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereRechargeBalanceRefundAmount($value)
  1816. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereRefundMethod($value)
  1817. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereRefundTime($value)
  1818. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereRemark($value)
  1819. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereState($value)
  1820. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereTotalRefundAmount($value)
  1821. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereTransRecordId($value)
  1822. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereUpdatedAt($value)
  1823. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereWalletBalanceRefundAmount($value)
  1824. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereWalletId($value)
  1825. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord withTrashed()
  1826. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord withoutTrashed()
  1827. */
  1828. class WalletRefundRecord extends \Eloquent {}
  1829. }
  1830. namespace App\Models{
  1831. /**
  1832. * 钱包分账记录
  1833. *
  1834. * @property int $id
  1835. * @property int $order_id 订单编号
  1836. * @property int $rule_id 分账规则配置编号
  1837. * @property string $split_type 分账类型(服务佣金、平台分成、邀请奖励、团队邀请奖励、推荐奖励)
  1838. * @property string $amount 参与分账金额
  1839. * @property string $split_ratio 分账比例
  1840. * @property string $split_amount 分账金额
  1841. * @property string|null $entry_time 入账时间
  1842. * @property string|null $remark 入账备注
  1843. * @property string $state 状态
  1844. * @property \Illuminate\Support\Carbon|null $created_at
  1845. * @property \Illuminate\Support\Carbon|null $updated_at
  1846. * @property \Illuminate\Support\Carbon|null $deleted_at
  1847. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord newModelQuery()
  1848. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord newQuery()
  1849. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord onlyTrashed()
  1850. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord query()
  1851. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereAmount($value)
  1852. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereCreatedAt($value)
  1853. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereDeletedAt($value)
  1854. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereEntryTime($value)
  1855. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereId($value)
  1856. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereOrderId($value)
  1857. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereRemark($value)
  1858. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereRuleId($value)
  1859. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereSplitAmount($value)
  1860. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereSplitRatio($value)
  1861. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereSplitType($value)
  1862. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereState($value)
  1863. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereUpdatedAt($value)
  1864. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord withTrashed()
  1865. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord withoutTrashed()
  1866. */
  1867. class WalletSplitRecord extends \Eloquent {}
  1868. }
  1869. namespace App\Models{
  1870. /**
  1871. * 钱包交易记录
  1872. *
  1873. * @property int $id
  1874. * @property int $wallet_id 钱包编号
  1875. * @property int $owner_id 业务类型编号
  1876. * @property string $owner_type 业务类型(profit:分账 recharge:充值 withdraw:提现 refund:退款 payment:支付 gift:赠送 breach:违约 compensation:补偿)
  1877. * @property string|null $role 角色
  1878. * @property int $trans_type 交易类型(income:收入 expense:支出)
  1879. * @property string $storage_type 存储类型(balance:余额 recharge:充值)
  1880. * @property string $amount 交易金额
  1881. * @property string|null $before_balance 交易前余额
  1882. * @property string|null $after_balance 交易后余额
  1883. * @property string|null $before_recharge_balance 交易前充值余额
  1884. * @property string|null $after_recharge_balance 交易后充值余额
  1885. * @property string|null $trans_time 交易时间
  1886. * @property string|null $remark 备注
  1887. * @property string $state 交易状态(processing:进行中 success:成功 fail:失败 cancel:取消)
  1888. * @property string|null $province 省份
  1889. * @property string|null $city 城市
  1890. * @property string|null $district 地区
  1891. * @property string|null $trans_no 交易单号
  1892. * @property \Illuminate\Support\Carbon|null $created_at
  1893. * @property \Illuminate\Support\Carbon|null $updated_at
  1894. * @property \Illuminate\Support\Carbon|null $deleted_at
  1895. * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\WalletPaymentRecord> $paymentRecords
  1896. * @property-read int|null $payment_records_count
  1897. * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\WalletRefundRecord> $refundRecords
  1898. * @property-read int|null $refund_records_count
  1899. * @property-read \App\Models\Wallet|null $wallet
  1900. * @property-read \App\Models\WalletWithdrawRecord|null $withdraw
  1901. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord newModelQuery()
  1902. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord newQuery()
  1903. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord onlyTrashed()
  1904. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord query()
  1905. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereAfterBalance($value)
  1906. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereAfterRechargeBalance($value)
  1907. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereAmount($value)
  1908. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereBeforeBalance($value)
  1909. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereBeforeRechargeBalance($value)
  1910. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereCity($value)
  1911. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereCreatedAt($value)
  1912. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereDeletedAt($value)
  1913. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereDistrict($value)
  1914. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereId($value)
  1915. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereOwnerId($value)
  1916. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereOwnerType($value)
  1917. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereProvince($value)
  1918. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereRemark($value)
  1919. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereRole($value)
  1920. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereState($value)
  1921. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereStorageType($value)
  1922. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereTransNo($value)
  1923. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereTransTime($value)
  1924. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereTransType($value)
  1925. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereUpdatedAt($value)
  1926. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereWalletId($value)
  1927. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord withTrashed()
  1928. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord withoutTrashed()
  1929. */
  1930. class WalletTransRecord extends \Eloquent {}
  1931. }
  1932. namespace App\Models{
  1933. /**
  1934. * 钱包提现记录
  1935. *
  1936. * @property int $id
  1937. * @property int $wallet_id 钱包编号
  1938. * @property string|null $external_no 外部交易单号
  1939. * @property string $withdraw_type 提现方式
  1940. * @property string $withdraw_account 提现账户
  1941. * @property string $withdraw_account_name 提现账户名
  1942. * @property string $amount 提现金额
  1943. * @property string $fee 提现手续费
  1944. * @property string|null $withdraw_time 提现时间
  1945. * @property string $area_code 行政区划代码
  1946. * @property string|null $remark 备注
  1947. * @property string|null $auditor 审核人
  1948. * @property string|null $audit_time 审核时间
  1949. * @property string|null $audit_remark 审核回执
  1950. * @property string $audit_state 审核状态
  1951. * @property string|null $trans_no 交易单号
  1952. * @property int $state 状态
  1953. * @property \Illuminate\Support\Carbon|null $created_at
  1954. * @property \Illuminate\Support\Carbon|null $updated_at
  1955. * @property \Illuminate\Support\Carbon|null $deleted_at
  1956. * @property-read \App\Models\WalletTransRecord|null $trans
  1957. * @property-read \App\Models\Wallet|null $wallet
  1958. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord newModelQuery()
  1959. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord newQuery()
  1960. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord onlyTrashed()
  1961. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord query()
  1962. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereAmount($value)
  1963. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereAreaCode($value)
  1964. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereAuditRemark($value)
  1965. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereAuditState($value)
  1966. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereAuditTime($value)
  1967. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereAuditor($value)
  1968. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereCreatedAt($value)
  1969. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereDeletedAt($value)
  1970. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereExternalNo($value)
  1971. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereFee($value)
  1972. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereId($value)
  1973. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereRemark($value)
  1974. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereState($value)
  1975. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereTransNo($value)
  1976. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereUpdatedAt($value)
  1977. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereWalletId($value)
  1978. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereWithdrawAccount($value)
  1979. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereWithdrawAccountName($value)
  1980. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereWithdrawTime($value)
  1981. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereWithdrawType($value)
  1982. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord withTrashed()
  1983. * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord withoutTrashed()
  1984. */
  1985. class WalletWithdrawRecord extends \Eloquent {}
  1986. }