12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039 |
- <?php
- // @formatter:off
- // phpcs:ignoreFile
- /**
- * A helper file for your Eloquent Models
- * Copy the phpDocs from this file to the correct Model,
- * And remove them from this file, to prevent double declarations.
- *
- * @author Barry vd. Heuvel <barryvdh@gmail.com>
- */
- namespace App\Models{
- /**
- * 代理商
- *
- * @property int $id 代理商编号
- * @property int $user_id 用户编号
- * @property int|null $info_record_id 代理商信息记录编号
- * @property int|null $real_auth_record_id 代理商实名认证记录编号
- * @property int|null $qual_record_id 代理商资质认证记录编号
- * @property string|null $area_code 代理区域
- * @property int $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at 创建时间
- * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
- * @property \Illuminate\Support\Carbon|null $deleted_at 删除时间
- * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\AgentProjectCate> $cates
- * @property-read int|null $cates_count
- * @property-read \App\Models\AgentInfoRecord|null $info
- * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\AgentInfoRecord> $infoRecords
- * @property-read int|null $info_records_count
- * @property-read \App\Models\MemberUser|null $member
- * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\AgentProject> $projects
- * @property-read int|null $projects_count
- * @property-read \App\Models\AgentRealAuthRecord|null $realAuth
- * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\AgentRealAuthRecord> $realAuthRecords
- * @property-read int|null $real_auth_records_count
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereAreaCode($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereInfoRecordId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereQualRecordId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereRealAuthRecordId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo whereUserId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfo withoutTrashed()
- */
- class AgentInfo extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 代理商信息认证记录
- *
- * @property int $id 代理商信息记录编号
- * @property int $agent_id 代理商编号
- * @property string $company_name 公司名称
- * @property string $company_address 公司地址
- * @property string $contact_name 联系人姓名
- * @property string $contact_mobile 联系人手机号
- * @property string $business_area 经营区域
- * @property string $business_scope 经营范围
- * @property string|null $auditor 审核人
- * @property string|null $audit_time 审核时间
- * @property string|null $audit_remark 审核回执
- * @property int $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at 创建时间
- * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
- * @property \Illuminate\Support\Carbon|null $deleted_at 删除时间
- * @property-read \App\Models\AgentInfo $agent
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereAgentId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereAuditRemark($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereAuditTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereAuditor($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereBusinessArea($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereBusinessScope($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereCompanyAddress($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereCompanyName($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereContactMobile($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereContactName($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentInfoRecord withoutTrashed()
- */
- class AgentInfoRecord extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 代理商服务项目
- *
- * @property int $id 主键
- * @property int $cate_id 代理商项目分类ID
- * @property int $project_id 项目ID
- * @property int|null $agent_id 代理商ID
- * @property string $price 项目金额
- * @property int $duration 服务时长(分钟)
- * @property int $distance 接单距离(米)
- * @property int $state
- * @property \Illuminate\Support\Carbon|null $created_at 创建时间
- * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
- * @property \Illuminate\Support\Carbon|null $deleted_at 删除时间
- * @property-read \App\Models\AgentProjectCate $cate
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereAgentId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereCateId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereDistance($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereDuration($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject wherePrice($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereProjectId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProject withoutTrashed()
- */
- class AgentProject extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 代理商项目分类
- *
- * @property int $id 主键
- * @property int $agent_id 代理商ID
- * @property int $cate_id 项目分类ID
- * @property int $state 状态(1:启用 0:禁用)
- * @property \Illuminate\Support\Carbon|null $created_at 创建时间
- * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
- * @property \Illuminate\Support\Carbon|null $deleted_at 删除时间
- * @property-read \App\Models\ProjectCate|null $parentCate
- * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\AgentProject> $projects
- * @property-read int|null $projects_count
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate whereAgentId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate whereCateId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectCate withoutTrashed()
- */
- class AgentProjectCate extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 代理商项目设置
- *
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectConfig newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectConfig newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectConfig onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectConfig query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectConfig withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentProjectConfig withoutTrashed()
- */
- class AgentProjectConfig extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 代理商实名认证记录
- *
- * @property int $id 代理商实名认证记录编号
- * @property int $agent_id 代理商编号
- * @property string $real_name 法人姓名
- * @property string $id_card 法人身份证号
- * @property string $id_card_front_photo 法人身份证正面照片
- * @property string $id_card_back_photo 法人身份证反面照片
- * @property string $business_license 营业执照照片
- * @property string|null $auditor 审核人
- * @property string|null $audit_time 审核时间
- * @property string|null $audit_remark 审核回执
- * @property int $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at 创建时间
- * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
- * @property \Illuminate\Support\Carbon|null $deleted_at 删除时间
- * @property-read \App\Models\AgentInfo $agent
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereAgentId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereAuditRemark($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereAuditTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereAuditor($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereBusinessLicense($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereIdCard($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereIdCardBackPhoto($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereIdCardFrontPhoto($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereRealName($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|AgentRealAuthRecord withoutTrashed()
- */
- class AgentRealAuthRecord extends \Eloquent {}
- }
- namespace App\Models{
- /**
- *
- *
- * @property int $id
- * @property string $name 标签名称
- * @property string $code 标签代码
- * @property int $weight 权重
- * @property string|null $description 描述
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag whereCode($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag whereDescription($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag whereName($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag whereWeight($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachCommentTag withoutTrashed()
- */
- class CoachCommentTag extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 技师投流订单
- *
- * @property int $id
- * @property int $coach_id 技师ID
- * @property string|null $order_no 订单交易号
- * @property int $position_type 投放位置 1:轮播图 2:弹屏 3:推荐和附近
- * @property int $time_slot 时间段 1:上午 2:下午 3:晚上
- * @property int $days 投放天数
- * @property string $amount 支付金额
- * @property string|null $start_time 开始时间
- * @property string|null $end_time 结束时间
- * @property int $state 状态 0:待支付 1:投放中 2:已结束
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereCoachId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereDays($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereEndTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereOrderNo($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder wherePositionType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereStartTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereTimeSlot($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachFlowOrder withoutTrashed()
- */
- class CoachFlowOrder extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 技师信息记录
- *
- * @property int $id
- * @property int $coach_id 技师编号
- * @property string|null $nickname 昵称
- * @property string|null $avatar 头像
- * @property string $gender 性别
- * @property string $mobile 服务电话
- * @property string|null $birthday 出生日期
- * @property int|null $work_years 从业年份
- * @property string|null $intention_city 意向城市
- * @property string|null $introduction 个人简介
- * @property string|null $auditor 审核人
- * @property string|null $audit_time 审核时间
- * @property string|null $audit_remark 审核回执
- * @property int $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property array|null $portrait_images 形象图片
- * @property int|null $age 年龄
- * @property-read \App\Models\CoachUser|null $coach
- * @property-read string $state_text
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereAge($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereAuditRemark($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereAuditTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereAuditor($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereAvatar($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereBirthday($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereCoachId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereGender($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereIntentionCity($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereIntroduction($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereMobile($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereNickname($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord wherePortraitImages($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord whereWorkYears($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachInfoRecord withoutTrashed()
- */
- class CoachInfoRecord extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 技师定位
- *
- * @property int $id
- * @property int $coach_id 技师编号
- * @property int $type 地址类型
- * @property string $latitude 纬度
- * @property string $longitude 经度
- * @property string $province 省
- * @property string $city 市
- * @property string $district 区
- * @property string $location 定位地址
- * @property string $area_code 行政区划代码
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \App\Models\CoachUser|null $coach
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereAreaCode($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereCity($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereCoachId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereDistrict($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereLatitude($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereLocation($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereLongitude($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereProvince($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachLocation withoutTrashed()
- */
- class CoachLocation extends \Eloquent {}
- }
- namespace App\Models{
- /**
- *
- *
- * @property int $id
- * @property int $order_id 订单ID
- * @property int $user_id 用户ID
- * @property int $coach_id 技师ID
- * @property int $score 评分 1-5
- * @property string|null $content 评价内容
- * @property array|null $images 图片列表
- * @property bool $is_anonymous 是否匿名 0否 1是
- * @property int $status 状态 0隐藏 1显示
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \App\Models\CoachUser|null $coach
- * @property-read \App\Models\Order|null $order
- * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\CoachCommentTag> $tags
- * @property-read int|null $tags_count
- * @property-read \App\Models\MemberUser|null $user
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereCoachId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereContent($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereImages($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereIsAnonymous($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereOrderId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereScore($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereStatus($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment whereUserId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachOrderComment withoutTrashed()
- */
- class CoachOrderComment extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 技师开通服务项目
- *
- * @property int $id 主键
- * @property int $coach_id 技师ID
- * @property int $project_id 项目ID
- * @property string $discount_amount 优惠金额
- * @property string $service_gender 服务性别(all:不限 male:男 female:女)
- * @property int $service_distance 服务距离(米)
- * @property string $traffic_fee_type 收取路费(free:免费 one_way:单程 round_trip:双程)
- * @property string $traffic_fee 路费金额
- * @property int $state 状态(1:启用 0:禁用)
- * @property \Illuminate\Support\Carbon|null $created_at 创建时间
- * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
- * @property \Illuminate\Support\Carbon|null $deleted_at 删除时间
- * @property-read \App\Models\Project $basicInfo
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereCoachId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereDiscountAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereProjectId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereServiceDistance($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereServiceGender($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereTrafficFee($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereTrafficFeeType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachProject withoutTrashed()
- */
- class CoachProject extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 技师资质认证记录
- *
- * @property int $id
- * @property int $coach_id 技师编号
- * @property string $qual_type 资质类型
- * @property string|null $qual_no 资质证书编号
- * @property string $qual_photo 资质证书照片
- * @property string|null $valid_start 有效期开始日期
- * @property string|null $valid_end 有效期结束日期
- * @property string|null $auditor 审核人
- * @property string|null $audit_time 审核时间
- * @property string|null $audit_remark 审核回执
- * @property int $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \App\Models\CoachUser|null $coach
- * @property-read string $state_text
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereAuditRemark($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereAuditTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereAuditor($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereCoachId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereQualNo($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereQualPhoto($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereQualType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereValidEnd($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord whereValidStart($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachQualRecord withoutTrashed()
- */
- class CoachQualRecord extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 技师实名认证记录
- *
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealAuthRecord newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealAuthRecord newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealAuthRecord onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealAuthRecord query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealAuthRecord withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealAuthRecord withoutTrashed()
- */
- class CoachRealAuthRecord extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 技师实名认证
- *
- * @property int $id 技师实名认证记录编号
- * @property int $coach_id 技师编号
- * @property string $real_name 姓名
- * @property string $id_card 身份证号
- * @property string $id_card_front_photo 身份证正面照片
- * @property string $id_card_back_photo 身份证反面照片
- * @property string $id_card_hand_photo 手持身份证照片
- * @property string|null $auditor 审核人
- * @property string|null $audit_time 审核时间
- * @property string|null $audit_remark 审核回执
- * @property int $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at 创建时间
- * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
- * @property \Illuminate\Support\Carbon|null $deleted_at 删除时间
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereAuditRemark($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereAuditTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereAuditor($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereCoachId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereIdCard($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereIdCardBackPhoto($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereIdCardFrontPhoto($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereIdCardHandPhoto($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereRealName($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachRealRecord withoutTrashed()
- */
- class CoachRealRecord extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 技师排班
- *
- * @property int $id
- * @property int $coach_id 技师ID
- * @property string $time_ranges 时间段JSON
- * @property int $state 状态:1-启用 2-禁用
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule whereCoachId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule whereTimeRanges($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachSchedule withoutTrashed()
- */
- class CoachSchedule extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 技师评分
- *
- * @property int $id
- * @property int $coach_id 技师编号
- * @property int|null $service_duration 服务时长(分钟)
- * @property int|null $order_count 订单数量
- * @property string|null $good_rate 好评率
- * @property string|null $efficiency 服务效率
- * @property string|null $punctual_rate 准时率
- * @property string|null $completion_rate 完成率
- * @property string|null $rating_score 评价得分
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereCoachId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereCompletionRate($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereEfficiency($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereGoodRate($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereOrderCount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore wherePunctualRate($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereRatingScore($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereServiceDuration($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachScore withoutTrashed()
- */
- class CoachScore extends \Eloquent {}
- }
- namespace App\Models{
- /**
- *
- *
- * @property int $id
- * @property int $coach_id 技师ID
- * @property numeric $avg_score 平均评分
- * @property int $comment_count 评价总数
- * @property int $good_comment_count 好评数(4-5分)
- * @property int $medium_comment_count 中评数(3分)
- * @property int $bad_comment_count 差评数(1-2分)
- * @property array|null $tag_statistics 标签统计 JSON格式
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property-read \App\Models\CoachUser|null $coach
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereAvgScore($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereBadCommentCount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereCoachId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereCommentCount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereGoodCommentCount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereMediumCommentCount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereTagStatistics($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachStatistic whereUpdatedAt($value)
- */
- class CoachStatistic extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 技师用户模型
- *
- * @property int $id
- * @property int $user_id 用户编号
- * @property int|null $info_record_id 技师信息记录编号
- * @property int|null $real_auth_record_id 技师实名认证记录编号
- * @property int|null $qualification_record_id 技师资质认证记录编号
- * @property int|null $shop_id 店铺编号
- * @property int|null $level 技师等级
- * @property int|null $virtual_order 虚拟订单数
- * @property string|null $score 评分
- * @property int $work_status 工作状态
- * @property int $virtual_status 虚拟状态
- * @property int $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property int|null $is_vip 是否是会员 0否 1是
- * @property string|null $vip_time 开通会员时间
- * @property string|null $invite_code 邀请码
- * @property string|null $qr_code 二维码地址
- * @property string|null $formal_photo 正装照片
- * @property string|null $formal_photo_remark 正装照片备注
- * @property string|null $formal_photo_updated_at 正装照片更新时间
- * @property int|null $formal_photo_admin_id 上传正装照片的管理员ID
- * @property int $newcomer_sort 新人组排序(数字越大越靠前)
- * @property string|null $newcomer_sort_updated_at 新人组排序更新时间
- * @property int|null $newcomer_sort_admin_id 设置新人组排序的管理员ID
- * @property-read string $state_text
- * @property-read \App\Models\CoachInfoRecord|null $info
- * @property-read \App\Models\CoachStatistic|null $statistic
- * @property-read \App\Models\MemberUser|null $user
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereFormalPhoto($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereFormalPhotoAdminId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereFormalPhotoRemark($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereFormalPhotoUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereInfoRecordId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereInviteCode($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereIsVip($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereLevel($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereNewcomerSort($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereNewcomerSortAdminId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereNewcomerSortUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereQrCode($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereQualificationRecordId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereRealAuthRecordId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereScore($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereShopId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereUserId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereVipTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereVirtualOrder($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereVirtualStatus($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser whereWorkStatus($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|CoachUser withoutTrashed()
- */
- class CoachUser extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 我的分销团队
- *
- * @property int $id 分销团队编号
- * @property int $object_id 对象编号
- * @property string $object_type 对象类型
- * @property int $user_id 被邀用户编号
- * @property int $level 层级
- * @property int $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at 创建时间
- * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
- * @property \Illuminate\Support\Carbon|null $deleted_at 删除时间
- * @property-read \Illuminate\Database\Eloquent\Model|\Eloquent $inviter
- * @property-read \App\Models\MemberUser $user
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam whereLevel($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam whereObjectId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam whereObjectType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam whereUserId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MarketDistTeam withoutTrashed()
- */
- class MarketDistTeam extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 用户地址
- *
- * @property int $id
- * @property int $user_id 用户编号
- * @property string|null $phone 联系电话
- * @property string $location 定位地址
- * @property string|null $detail 详细地址
- * @property string $province 省
- * @property string $city 市
- * @property string $district 区
- * @property string $longitude 经度
- * @property string $latitude 纬度
- * @property string $area_code 行政区划代码
- * @property int $is_default 是否默认地址
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \App\Models\MemberUser|null $member
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereAreaCode($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereCity($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereDetail($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereDistrict($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereIsDefault($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereLatitude($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereLocation($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereLongitude($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress wherePhone($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereProvince($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress whereUserId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberAddress withoutTrashed()
- */
- class MemberAddress extends \Eloquent {}
- }
- namespace App\Models{
- /**
- *
- *
- * @property int $id
- * @property int $user_id 用户ID
- * @property int $type 不良行为类型
- * @property string $title 标题
- * @property string $description 详细描述
- * @property array|null $evidence 证据(图片/视频)
- * @property int|null $related_order_id 关联订单ID
- * @property int $operator_id 操作人ID
- * @property string $operator_type 操作人类型
- * @property \Illuminate\Support\Carbon $occurred_at 发生时间
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \App\Models\Order|null $order
- * @property-read \App\Models\MemberUser|null $user
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereDescription($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereEvidence($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereOccurredAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereOperatorId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereOperatorType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereRelatedOrderId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereTitle($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior whereUserId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberBadBehavior withoutTrashed()
- */
- class MemberBadBehavior extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 用户实名认证记录
- *
- * @property int $id
- * @property int $user_id 用户编号
- * @property string $real_name 真实姓名
- * @property string $id_card 身份证号
- * @property string $id_card_front_photo 身份证正面照片
- * @property string $id_card_back_photo 身份证反面照片
- * @property string $id_card_hand_photo 手持身份证照片
- * @property string|null $auditor 审核人
- * @property string|null $audit_time 审核时间
- * @property string|null $audit_remark 审核回执
- * @property string $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \App\Models\MemberUser|null $member
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereAuditRemark($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereAuditTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereAuditor($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereIdCard($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereIdCardBackPhoto($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereIdCardFrontPhoto($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereIdCardHandPhoto($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereRealName($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord whereUserId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberRealAuthRecord withoutTrashed()
- */
- class MemberRealAuthRecord extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 用户社交账号
- *
- * @property int $id
- * @property int|null $user_id 用户编号
- * @property string|null $platform 社交平台
- * @property string|null $social_id 社交账号
- * @property string|null $nickname 昵称
- * @property string|null $avatar 头像
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \App\Models\MemberUser|null $member
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount whereAvatar($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount whereNickname($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount wherePlatform($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount whereSocialId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount whereUserId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberSocialAccount withoutTrashed()
- */
- class MemberSocialAccount extends \Eloquent {}
- }
- namespace App\Models{
- /**
- *
- *
- * @property int $id
- * @property string|null $mobile 手机号
- * @property string|null $password 密码
- * @property string|null $nickname 昵称
- * @property string|null $avatar 头像
- * @property string|null $gender 性别
- * @property string|null $register_area 注册地(行政区划代码)
- * @property int|null $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property string|null $last_login_time 最近登录时间
- * @property string|null $invite_code 邀请码
- * @property string|null $qrcode 二维码
- * @property string|null $scene 使用场景
- * @property-read \App\Models\MemberAddress|null $address
- * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\MemberAddress> $addresses
- * @property-read int|null $addresses_count
- * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Order> $orders
- * @property-read int|null $orders_count
- * @property-read \Illuminate\Database\Eloquent\Collection<int, \Slowlyo\OwlAdmin\Models\PersonalAccessToken> $tokens
- * @property-read int|null $tokens_count
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereAvatar($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereGender($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereInviteCode($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereLastLoginTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereMobile($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereNickname($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser wherePassword($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereQrcode($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereRegisterArea($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereScene($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|MemberUser withoutTrashed()
- */
- class MemberUser extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 订单
- *
- * @property int $id 订单编号
- * @property int $user_id 用户编号
- * @property int|null $coach_id 技师编号
- * @property int $project_id 项目编号
- * @property int|null $channel_id 渠道编号
- * @property int|null $shop_id 店铺编号
- * @property int|null $agent_id 代理编号
- * @property int|null $customer_service_id 跟单客服编号
- * @property string|null $order_no 订单交易编号
- * @property int $type 订单类型
- * @property int $source 订单来源
- * @property int|null $payment_type 支付类型
- * @property string $project_amount 项目金额
- * @property string|null $traffic_amount 路费金额
- * @property string $total_amount 订单金额
- * @property string|null $balance_amount 余额抵扣金额
- * @property string $pay_amount 实付金额
- * @property string|null $discount_amount 优惠卷金额
- * @property string|null $tip_amount 打赏金额
- * @property string|null $service_snapshot 项目快照
- * @property string $service_time 服务时间
- * @property int|null $distance 目的地距离(米)
- * @property string $latitude 目的地纬度
- * @property string $longitude 目的地经度
- * @property string $location 目的地定位地址
- * @property string|null $address 目的地详细地址
- * @property string $area_code 目的地行政区划代码
- * @property string|null $remark 订单备注
- * @property int $state 订单状态
- * @property int|null $address_id 用户地址ID
- * @property \Illuminate\Support\Carbon|null $created_at 创建时间
- * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
- * @property \Illuminate\Support\Carbon|null $deleted_at 删除时间
- * @property string|null $service_start_time 服务开始时间
- * @property string|null $service_end_time 服务结束时间
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereAddress($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereAddressId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereAgentId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereAreaCode($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereBalanceAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereChannelId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereCoachId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereCustomerServiceId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereDiscountAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereDistance($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereLatitude($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereLocation($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereLongitude($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereOrderNo($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order wherePayAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order wherePaymentType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereProjectAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereProjectId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereRemark($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereServiceEndTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereServiceSnapshot($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereServiceStartTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereServiceTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereShopId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereSource($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereTipAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereTotalAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereTrafficAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order whereUserId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Order withoutTrashed()
- */
- class Order extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 订单评论
- *
- * @property int $id
- * @property int $order_id 订单编号
- * @property int $user_id 用户编号
- * @property int $coach_id 技师编号
- * @property string|null $content 评论内容
- * @property int $rating 评论星级
- * @property string $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \App\Models\CoachUser|null $coach
- * @property-read \App\Models\MemberUser|null $member
- * @property-read \App\Models\Order|null $order
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereCoachId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereContent($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereOrderId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereRating($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment whereUserId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderComment withoutTrashed()
- */
- class OrderComment extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 订单分销记录
- *
- * @property int $id
- * @property int $order_id 订单编号
- * @property int $object_id 对象编号
- * @property string $object_type 对象类型
- * @property string $dist_type 分销类型
- * @property string $amount 分销金额
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \App\Models\Order|null $order
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord whereAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord whereDistType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord whereObjectId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord whereObjectType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord whereOrderId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderDistRecord withoutTrashed()
- */
- class OrderDistRecord extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 订单异常记录
- *
- * @property int $id
- * @property int $order_id 订单编号
- * @property int|null $customer_service_id 跟单客服编号
- * @property string $type 异常类型
- * @property string $reason 异常原因
- * @property string|null $remark 备注
- * @property string $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \App\Models\Order|null $order
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereCustomerServiceId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereOrderId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereReason($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereRemark($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderExcRecord withoutTrashed()
- */
- class OrderExcRecord extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 订单抢单记录
- *
- * @property int $id
- * @property int $coach_id 技师编号
- * @property int $order_id 订单编号
- * @property string|null $distance 公里数
- * @property int $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \App\Models\CoachUser|null $coach
- * @property-read \App\Models\Order|null $order
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord whereCoachId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord whereDistance($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord whereOrderId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderGrabRecord withoutTrashed()
- */
- class OrderGrabRecord extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 订单记录
- *
- * @property int $id
- * @property int $order_id 订单编号
- * @property int $object_id 对象编号
- * @property int|null $old_coach_id 原技师编号
- * @property int|null $new_coach_id 新技师编号
- * @property string $object_type 对象类型
- * @property int $state 记录状态
- * @property string|null $remark 备注
- * @property string|null $change_reason 更换原因
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \App\Models\Order|null $order
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereChangeReason($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereNewCoachId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereObjectId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereObjectType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereOldCoachId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereOrderId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereRemark($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|OrderRecord withoutTrashed()
- */
- class OrderRecord extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 项目服务
- *
- * @property int $id
- * @property int $cate_id 项目分类编号
- * @property string|null $cover 项目封面
- * @property string $title 项目标题
- * @property string|null $subtitle 项目副标题
- * @property string $price 项目金额
- * @property string $original_price 项目原价
- * @property int|null $sales 虚拟销量
- * @property int $duration 服务时长
- * @property string|null $project_desc 项目介绍
- * @property string|null $service_desc 服务说明
- * @property string $type 服务类型
- * @property string $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereCateId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereCover($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereDuration($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereOriginalPrice($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project wherePrice($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereProjectDesc($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereSales($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereServiceDesc($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereSubtitle($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereTitle($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Project withoutTrashed()
- */
- class Project extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 项目分类
- *
- * @property int $id
- * @property string $name 项目分类名称
- * @property string|null $cover 分类封面
- * @property int|null $sort 排序
- * @property string $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\Project> $projects
- * @property-read int|null $projects_count
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate whereCover($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate whereName($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate whereSort($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ProjectCate withoutTrashed()
- */
- class ProjectCate extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 临时用户列表
- *
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ReportUserList newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ReportUserList newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ReportUserList onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ReportUserList query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ReportUserList withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ReportUserList withoutTrashed()
- */
- class ReportUserList extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 设置分组管理
- *
- * @property int $id 主键ID
- * @property string $code 设置组编码
- * @property string $name 设置组名称
- * @property string|null $description 设置组描述
- * @property int $sort 排序
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup whereCode($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup whereDescription($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup whereName($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup whereSort($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingGroup withoutTrashed()
- */
- class SettingGroup extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 设置项
- *
- * @property int $id 主键ID
- * @property int $group_id 设置组ID
- * @property string $code 设置项编码
- * @property string $name 设置项名称
- * @property string|null $description 设置项描述
- * @property string $value_type 值类型:string,number,boolean,json
- * @property string|null $default_value 默认值
- * @property string|null $min_value 最小值(数值类型)
- * @property string|null $max_value 最大值(数值类型)
- * @property string|null $options 可选值(json格式)
- * @property int $sort 排序
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereCode($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereDefaultValue($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereDescription($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereGroupId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereMaxValue($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereMinValue($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereName($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereOptions($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereSort($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem whereValueType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingItem withoutTrashed()
- */
- class SettingItem extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 设置权限管理
- *
- * @property int $id 主键ID
- * @property int $item_id 设置项ID
- * @property string $object_type 业务对象类型:PLATFORM,AGENT,SHOP,COACH
- * @property int $can_edit 是否可编辑
- * @property string|null $min_value 最小值限制
- * @property string|null $max_value 最大值限制
- * @property string|null $options 可选值限制
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereCanEdit($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereItemId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereMaxValue($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereMinValue($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereObjectType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereOptions($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingPermission withoutTrashed()
- */
- class SettingPermission extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 设置值管理
- *
- * @property int $id 主键ID
- * @property int $item_id 设置项ID
- * @property string $object_type 业务对象类型:PLATFORM,AGENT,SHOP,COACH
- * @property int $object_id 业务对象ID
- * @property string $value 设置值
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue whereItemId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue whereObjectId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue whereObjectType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue whereValue($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SettingValue withoutTrashed()
- */
- class SettingValue extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 店铺认证记录
- *
- * @property int $id
- * @property int $shop_id 店铺编号
- * @property string $shop_name 店铺名称
- * @property string|null $shop_desc 店铺描述
- * @property string $shop_address 店铺地址
- * @property string $contact_phone 店铺联系电话
- * @property string $contact_name 店铺联系人
- * @property string $contact_id_card 店铺联系人身份证
- * @property string $id_card_front_photo 店铺联系人身份证正面
- * @property string $id_card_back_photo 店铺联系人身份证反面
- * @property string $business_license 店铺营业执照
- * @property string $license_front_photo 店铺营业执照正面
- * @property string $license_back_photo 店铺营业执照反面
- * @property string $storefront_photo 店铺门头照
- * @property string $storefront_front_photo 店铺门头照正面
- * @property string $storefront_back_photo 店铺门头照反面
- * @property string $longitude 店铺经营地址经度
- * @property string $latitude 店铺经营地址纬度
- * @property string $operating_area 店铺经营面积
- * @property int $operating_years 店铺经营年限
- * @property int $technician_count 店铺技师人数
- * @property string|null $business_hours 店铺营业时间
- * @property string|null $rating 评分
- * @property string|null $auditor 审核人
- * @property string|null $audit_time 审核时间
- * @property string|null $audit_remark 审核回馈
- * @property string $state 审核状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \App\Models\ShopInfo|null $shop
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereAuditRemark($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereAuditTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereAuditor($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereBusinessHours($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereBusinessLicense($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereContactIdCard($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereContactName($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereContactPhone($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereIdCardBackPhoto($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereIdCardFrontPhoto($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereLatitude($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereLicenseBackPhoto($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereLicenseFrontPhoto($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereLongitude($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereOperatingArea($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereOperatingYears($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereRating($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereShopAddress($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereShopDesc($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereShopId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereShopName($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereStorefrontBackPhoto($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereStorefrontFrontPhoto($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereStorefrontPhoto($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereTechnicianCount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopAuthRecord withoutTrashed()
- */
- class ShopAuthRecord extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 店铺技师服务项目
- *
- * @property int $id
- * @property int $coach_id 技师编号
- * @property int $shop_service_id 店铺服务项目编号
- * @property string $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \App\Models\CoachUser|null $coach
- * @property-read \App\Models\ShopService|null $shopService
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService whereCoachId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService whereShopServiceId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopCoachService withoutTrashed()
- */
- class ShopCoachService extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 店铺
- *
- * @property int $id
- * @property int|null $auth_record_id 店铺认证记录编号
- * @property int|null $salesperson_id 业务员编号
- * @property string $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \App\Models\ShopAuthRecord|null $auth
- * @property-read \App\Models\ShopAuthRecord|null $authRecord
- * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\ShopAuthRecord> $authRecords
- * @property-read int|null $auth_records_count
- * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\CoachUser> $coaches
- * @property-read int|null $coaches_count
- * @property-read \App\Models\MemberUser|null $member
- * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\ShopService> $services
- * @property-read int|null $services_count
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo whereAuthRecordId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo whereSalespersonId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopInfo withoutTrashed()
- */
- class ShopInfo extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 店铺服务
- *
- * @property int $id
- * @property int $shop_id 店铺编号
- * @property int $service_id 服务项目编号
- * @property string $name 服务项目名称
- * @property string|null $cover 服务项目封面
- * @property string $price 服务项目价格
- * @property int $duration 服务时长(分钟)
- * @property string $type 服务类型
- * @property string $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\ShopCoachService> $coaches
- * @property-read int|null $coaches_count
- * @property-read \App\Models\Project|null $project
- * @property-read \App\Models\ShopInfo|null $shop
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereCover($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereDuration($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereName($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService wherePrice($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereServiceId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereShopId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|ShopService withoutTrashed()
- */
- class ShopService extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 系统设置
- *
- * @property int $id
- * @property string $key 配置项
- * @property string $value 配置值
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig whereKey($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig whereValue($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysConfig withoutTrashed()
- */
- class SysConfig extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 行政区划
- *
- * @property int $id
- * @property string $cityName
- * @property int $parentId
- * @property string $shortName
- * @property int $depth
- * @property string $cityCode
- * @property string $zipCode
- * @property string $mergerName
- * @property string $longitude
- * @property string $latitude
- * @property string $pinyin
- * @property int|null $isUse
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read SysRegion|null $parentRegion
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereCityCode($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereCityName($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereDepth($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereIsUse($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereLatitude($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereLongitude($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereMergerName($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereParentId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion wherePinyin($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereShortName($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion whereZipCode($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|SysRegion withoutTrashed()
- */
- class SysRegion extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 钱包
- *
- * @property int $id
- * @property int $owner_id 所属主体编号
- * @property string $owner_type 钱包类型
- * @property string $total_balance 总余额
- * @property string $available_balance 可用余额
- * @property string $frozen_amount 冻结金额
- * @property string $total_income 累计收入
- * @property string $total_expense 累计支出
- * @property string $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \App\Models\MemberUser|null $member
- * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\WalletTransRecord> $transRecords
- * @property-read int|null $trans_records_count
- * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\WalletWithdrawRecord> $withdrawRecords
- * @property-read int|null $withdraw_records_count
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereAvailableBalance($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereFrozenAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereOwnerId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereOwnerType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereTotalBalance($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereTotalExpense($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereTotalIncome($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|Wallet withoutTrashed()
- */
- class Wallet extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 钱包支付记录
- *
- * @property int $id
- * @property int $order_id 订单编号
- * @property int $wallet_id 钱包编号
- * @property int|null $trans_record_id 交易记录编号
- * @property string $payment_no 交易单号
- * @property string $payment_method 支付方式
- * @property string $total_amount 合计支付金额
- * @property string $actual_amount 实际支付金额
- * @property string $used_wallet_balance 使用钱包余额
- * @property string $used_recharge_balance 使用充值余额
- * @property string|null $payment_time 支付时间
- * @property string|null $remark 备注
- * @property string $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property string|null $nickname 用户昵称
- * @property string|null $area_code 区域
- * @property int|null $recharge_setting_id 充值规则
- * @property-read \App\Models\WalletTransRecord|null $trans
- * @property-read \App\Models\Wallet|null $wallet
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereActualAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereAreaCode($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereNickname($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereOrderId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord wherePaymentMethod($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord wherePaymentNo($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord wherePaymentTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereRechargeSettingId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereRemark($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereTotalAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereTransRecordId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereUsedRechargeBalance($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereUsedWalletBalance($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord whereWalletId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletPaymentRecord withoutTrashed()
- */
- class WalletPaymentRecord extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 钱包退款记录
- *
- * @property int $id
- * @property int $order_id 订单编号
- * @property int $wallet_id 钱包编号
- * @property int|null $trans_record_id 交易记录编号
- * @property string|null $external_no 外部交易单号
- * @property string $refund_method 退款方式
- * @property string $total_refund_amount 合计退款金额
- * @property string $actual_refund_amount 实际退款金额
- * @property string $wallet_balance_refund_amount 钱包余额退款金额
- * @property string $recharge_balance_refund_amount 充值余额退款金额
- * @property string|null $refund_time 退款时间
- * @property string|null $remark 备注
- * @property string $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \App\Models\WalletTransRecord|null $trans
- * @property-read \App\Models\Wallet|null $wallet
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereActualRefundAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereExternalNo($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereOrderId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereRechargeBalanceRefundAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereRefundMethod($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereRefundTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereRemark($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereTotalRefundAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereTransRecordId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereWalletBalanceRefundAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord whereWalletId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletRefundRecord withoutTrashed()
- */
- class WalletRefundRecord extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 钱包分账记录
- *
- * @property int $id
- * @property int $order_id 订单编号
- * @property int $rule_id 分账规则配置编号
- * @property string $split_type 分账类型(服务佣金、平台分成、邀请奖励、团队邀请奖励、推荐奖励)
- * @property string $amount 参与分账金额
- * @property string $split_ratio 分账比例
- * @property string $split_amount 分账金额
- * @property string|null $entry_time 入账时间
- * @property string|null $remark 入账备注
- * @property string $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereEntryTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereOrderId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereRemark($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereRuleId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereSplitAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereSplitRatio($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereSplitType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletSplitRecord withoutTrashed()
- */
- class WalletSplitRecord extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 钱包交易记录
- *
- * @property int $id
- * @property int $wallet_id 钱包编号
- * @property int $owner_id 业务类型编号
- * @property string $owner_type 业务类型(profit:分账 recharge:充值 withdraw:提现 refund:退款 payment:支付 gift:赠送 breach:违约 compensation:补偿)
- * @property string|null $role 角色
- * @property int $trans_type 交易类型(income:收入 expense:支出)
- * @property string $storage_type 存储类型(balance:余额 recharge:充值)
- * @property string $amount 交易金额
- * @property string|null $before_balance 交易前余额
- * @property string|null $after_balance 交易后余额
- * @property string|null $before_recharge_balance 交易前充值余额
- * @property string|null $after_recharge_balance 交易后充值余额
- * @property string|null $trans_time 交易时间
- * @property string|null $remark 备注
- * @property string $state 交易状态(processing:进行中 success:成功 fail:失败 cancel:取消)
- * @property string|null $province 省份
- * @property string|null $city 城市
- * @property string|null $district 地区
- * @property string|null $trans_no 交易单号
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\WalletPaymentRecord> $paymentRecords
- * @property-read int|null $payment_records_count
- * @property-read \Illuminate\Database\Eloquent\Collection<int, \App\Models\WalletRefundRecord> $refundRecords
- * @property-read int|null $refund_records_count
- * @property-read \App\Models\Wallet|null $wallet
- * @property-read \App\Models\WalletWithdrawRecord|null $withdraw
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereAfterBalance($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereAfterRechargeBalance($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereBeforeBalance($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereBeforeRechargeBalance($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereCity($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereDistrict($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereOwnerId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereOwnerType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereProvince($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereRemark($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereRole($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereStorageType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereTransNo($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereTransTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereTransType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord whereWalletId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletTransRecord withoutTrashed()
- */
- class WalletTransRecord extends \Eloquent {}
- }
- namespace App\Models{
- /**
- * 钱包提现记录
- *
- * @property int $id
- * @property int $wallet_id 钱包编号
- * @property string|null $external_no 外部交易单号
- * @property string $withdraw_type 提现方式
- * @property string $withdraw_account 提现账户
- * @property string $withdraw_account_name 提现账户名
- * @property string $amount 提现金额
- * @property string $fee 提现手续费
- * @property string|null $withdraw_time 提现时间
- * @property string $area_code 行政区划代码
- * @property string|null $remark 备注
- * @property string|null $auditor 审核人
- * @property string|null $audit_time 审核时间
- * @property string|null $audit_remark 审核回执
- * @property string $audit_state 审核状态
- * @property string|null $trans_no 交易单号
- * @property int $state 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property \Illuminate\Support\Carbon|null $deleted_at
- * @property-read \App\Models\WalletTransRecord|null $trans
- * @property-read \App\Models\Wallet|null $wallet
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord onlyTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereAmount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereAreaCode($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereAuditRemark($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereAuditState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereAuditTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereAuditor($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereExternalNo($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereFee($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereRemark($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereState($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereTransNo($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereWalletId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereWithdrawAccount($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereWithdrawAccountName($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereWithdrawTime($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord whereWithdrawType($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord withTrashed()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|WalletWithdrawRecord withoutTrashed()
- */
- class WalletWithdrawRecord extends \Eloquent {}
- }
|