*/ 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 $cates * @property-read int|null $cates_count * @property-read \App\Models\AgentInfoRecord|null $info * @property-read \Illuminate\Database\Eloquent\Collection $infoRecords * @property-read int|null $info_records_count * @property-read \App\Models\MemberUser|null $member * @property-read \Illuminate\Database\Eloquent\Collection $projects * @property-read int|null $projects_count * @property-read \App\Models\AgentRealAuthRecord|null $realAuth * @property-read \Illuminate\Database\Eloquent\Collection $realAuthRecords * @property-read int|null $real_auth_records_count * @method static \Illuminate\Database\Eloquent\Builder|AgentInfo newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|AgentInfo newQuery() * @method static \Illuminate\Database\Eloquent\Builder|AgentInfo onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|AgentInfo query() * @method static \Illuminate\Database\Eloquent\Builder|AgentInfo whereAreaCode($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfo whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfo whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfo whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfo whereInfoRecordId($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfo whereQualRecordId($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfo whereRealAuthRecordId($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfo whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfo whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfo whereUserId($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfo withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|AgentInfoRecord newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord newQuery() * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord query() * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord whereAgentId($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord whereAuditRemark($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord whereAuditTime($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord whereAuditor($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord whereBusinessArea($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord whereBusinessScope($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord whereCompanyAddress($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord whereCompanyName($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord whereContactMobile($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord whereContactName($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentInfoRecord withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|AgentProject newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|AgentProject newQuery() * @method static \Illuminate\Database\Eloquent\Builder|AgentProject onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|AgentProject query() * @method static \Illuminate\Database\Eloquent\Builder|AgentProject whereAgentId($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentProject whereCateId($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentProject whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentProject whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentProject whereDistance($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentProject whereDuration($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentProject whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentProject wherePrice($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentProject whereProjectId($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentProject whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentProject whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentProject withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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 $projects * @property-read int|null $projects_count * @method static \Illuminate\Database\Eloquent\Builder|AgentProjectCate newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|AgentProjectCate newQuery() * @method static \Illuminate\Database\Eloquent\Builder|AgentProjectCate onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|AgentProjectCate query() * @method static \Illuminate\Database\Eloquent\Builder|AgentProjectCate whereAgentId($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentProjectCate whereCateId($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentProjectCate whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentProjectCate whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentProjectCate whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentProjectCate whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentProjectCate whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentProjectCate withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|AgentProjectCate withoutTrashed() */ class AgentProjectCate extends \Eloquent {} } namespace App\Models{ /** * 代理商项目设置 * * @method static \Illuminate\Database\Eloquent\Builder|AgentProjectConfig newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|AgentProjectConfig newQuery() * @method static \Illuminate\Database\Eloquent\Builder|AgentProjectConfig onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|AgentProjectConfig query() * @method static \Illuminate\Database\Eloquent\Builder|AgentProjectConfig withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|AgentRealAuthRecord newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|AgentRealAuthRecord newQuery() * @method static \Illuminate\Database\Eloquent\Builder|AgentRealAuthRecord onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|AgentRealAuthRecord query() * @method static \Illuminate\Database\Eloquent\Builder|AgentRealAuthRecord whereAgentId($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentRealAuthRecord whereAuditRemark($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentRealAuthRecord whereAuditTime($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentRealAuthRecord whereAuditor($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentRealAuthRecord whereBusinessLicense($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentRealAuthRecord whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentRealAuthRecord whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentRealAuthRecord whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentRealAuthRecord whereIdCard($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentRealAuthRecord whereIdCardBackPhoto($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentRealAuthRecord whereIdCardFrontPhoto($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentRealAuthRecord whereRealName($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentRealAuthRecord whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentRealAuthRecord whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|AgentRealAuthRecord withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|CoachCommentTag newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachCommentTag newQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachCommentTag onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|CoachCommentTag query() * @method static \Illuminate\Database\Eloquent\Builder|CoachCommentTag whereCode($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachCommentTag whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachCommentTag whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachCommentTag whereDescription($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachCommentTag whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachCommentTag whereName($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachCommentTag whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachCommentTag whereWeight($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachCommentTag withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|CoachFlowOrder newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachFlowOrder newQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachFlowOrder onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|CoachFlowOrder query() * @method static \Illuminate\Database\Eloquent\Builder|CoachFlowOrder whereAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachFlowOrder whereCoachId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachFlowOrder whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachFlowOrder whereDays($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachFlowOrder whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachFlowOrder whereEndTime($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachFlowOrder whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachFlowOrder whereOrderNo($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachFlowOrder wherePositionType($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachFlowOrder whereStartTime($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachFlowOrder whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachFlowOrder whereTimeSlot($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachFlowOrder whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachFlowOrder withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|CoachInfoRecord newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord newQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord query() * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord whereAge($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord whereAuditRemark($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord whereAuditTime($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord whereAuditor($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord whereAvatar($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord whereBirthday($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord whereCoachId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord whereGender($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord whereIntentionCity($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord whereIntroduction($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord whereMobile($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord whereNickname($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord wherePortraitImages($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord whereWorkYears($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachInfoRecord withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|CoachLocation newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachLocation newQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachLocation onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|CoachLocation query() * @method static \Illuminate\Database\Eloquent\Builder|CoachLocation whereAreaCode($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachLocation whereCity($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachLocation whereCoachId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachLocation whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachLocation whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachLocation whereDistrict($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachLocation whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachLocation whereLatitude($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachLocation whereLocation($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachLocation whereLongitude($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachLocation whereProvince($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachLocation whereType($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachLocation whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachLocation withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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 $tags * @property-read int|null $tags_count * @property-read \App\Models\MemberUser|null $user * @method static \Illuminate\Database\Eloquent\Builder|CoachOrderComment newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachOrderComment newQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachOrderComment onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|CoachOrderComment query() * @method static \Illuminate\Database\Eloquent\Builder|CoachOrderComment whereCoachId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachOrderComment whereContent($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachOrderComment whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachOrderComment whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachOrderComment whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachOrderComment whereImages($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachOrderComment whereIsAnonymous($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachOrderComment whereOrderId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachOrderComment whereScore($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachOrderComment whereStatus($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachOrderComment whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachOrderComment whereUserId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachOrderComment withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|CoachProject newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachProject newQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachProject onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|CoachProject query() * @method static \Illuminate\Database\Eloquent\Builder|CoachProject whereCoachId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachProject whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachProject whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachProject whereDiscountAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachProject whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachProject whereProjectId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachProject whereServiceDistance($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachProject whereServiceGender($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachProject whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachProject whereTrafficFee($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachProject whereTrafficFeeType($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachProject whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachProject withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|CoachQualRecord newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord newQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord query() * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord whereAuditRemark($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord whereAuditTime($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord whereAuditor($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord whereCoachId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord whereQualNo($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord whereQualPhoto($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord whereQualType($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord whereValidEnd($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord whereValidStart($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|CoachQualRecord withoutTrashed() */ class CoachQualRecord extends \Eloquent {} } namespace App\Models{ /** * 技师实名认证记录 * * @method static \Illuminate\Database\Eloquent\Builder|CoachRealAuthRecord newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachRealAuthRecord newQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachRealAuthRecord onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|CoachRealAuthRecord query() * @method static \Illuminate\Database\Eloquent\Builder|CoachRealAuthRecord withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|CoachRealRecord newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachRealRecord newQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachRealRecord onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|CoachRealRecord query() * @method static \Illuminate\Database\Eloquent\Builder|CoachRealRecord whereAuditRemark($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachRealRecord whereAuditTime($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachRealRecord whereAuditor($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachRealRecord whereCoachId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachRealRecord whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachRealRecord whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachRealRecord whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachRealRecord whereIdCard($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachRealRecord whereIdCardBackPhoto($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachRealRecord whereIdCardFrontPhoto($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachRealRecord whereIdCardHandPhoto($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachRealRecord whereRealName($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachRealRecord whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachRealRecord whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachRealRecord withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|CoachSchedule newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachSchedule newQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachSchedule onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|CoachSchedule query() * @method static \Illuminate\Database\Eloquent\Builder|CoachSchedule whereCoachId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachSchedule whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachSchedule whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachSchedule whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachSchedule whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachSchedule whereTimeRanges($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachSchedule whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachSchedule withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|CoachScore newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachScore newQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachScore onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|CoachScore query() * @method static \Illuminate\Database\Eloquent\Builder|CoachScore whereCoachId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachScore whereCompletionRate($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachScore whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachScore whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachScore whereEfficiency($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachScore whereGoodRate($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachScore whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachScore whereOrderCount($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachScore wherePunctualRate($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachScore whereRatingScore($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachScore whereServiceDuration($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachScore whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachScore withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|CoachStatistic newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachStatistic newQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachStatistic query() * @method static \Illuminate\Database\Eloquent\Builder|CoachStatistic whereAvgScore($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachStatistic whereBadCommentCount($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachStatistic whereCoachId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachStatistic whereCommentCount($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachStatistic whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachStatistic whereGoodCommentCount($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachStatistic whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachStatistic whereMediumCommentCount($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachStatistic whereTagStatistics($value) * @method static \Illuminate\Database\Eloquent\Builder|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|CoachUser newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachUser newQuery() * @method static \Illuminate\Database\Eloquent\Builder|CoachUser onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|CoachUser query() * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereFormalPhoto($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereFormalPhotoAdminId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereFormalPhotoRemark($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereFormalPhotoUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereInfoRecordId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereInviteCode($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereIsVip($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereLevel($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereNewcomerSort($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereNewcomerSortAdminId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereNewcomerSortUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereQrCode($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereQualificationRecordId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereRealAuthRecordId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereScore($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereShopId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereUserId($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereVipTime($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereVirtualOrder($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereVirtualStatus($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser whereWorkStatus($value) * @method static \Illuminate\Database\Eloquent\Builder|CoachUser withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|MarketDistTeam newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|MarketDistTeam newQuery() * @method static \Illuminate\Database\Eloquent\Builder|MarketDistTeam onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|MarketDistTeam query() * @method static \Illuminate\Database\Eloquent\Builder|MarketDistTeam whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MarketDistTeam whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MarketDistTeam whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|MarketDistTeam whereLevel($value) * @method static \Illuminate\Database\Eloquent\Builder|MarketDistTeam whereObjectId($value) * @method static \Illuminate\Database\Eloquent\Builder|MarketDistTeam whereObjectType($value) * @method static \Illuminate\Database\Eloquent\Builder|MarketDistTeam whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|MarketDistTeam whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MarketDistTeam whereUserId($value) * @method static \Illuminate\Database\Eloquent\Builder|MarketDistTeam withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|MemberAddress newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress newQuery() * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress query() * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress whereAreaCode($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress whereCity($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress whereDetail($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress whereDistrict($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress whereIsDefault($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress whereLatitude($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress whereLocation($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress whereLongitude($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress wherePhone($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress whereProvince($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress whereUserId($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberAddress withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|MemberBadBehavior newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|MemberBadBehavior newQuery() * @method static \Illuminate\Database\Eloquent\Builder|MemberBadBehavior onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|MemberBadBehavior query() * @method static \Illuminate\Database\Eloquent\Builder|MemberBadBehavior whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberBadBehavior whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberBadBehavior whereDescription($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberBadBehavior whereEvidence($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberBadBehavior whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberBadBehavior whereOccurredAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberBadBehavior whereOperatorId($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberBadBehavior whereOperatorType($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberBadBehavior whereRelatedOrderId($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberBadBehavior whereTitle($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberBadBehavior whereType($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberBadBehavior whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberBadBehavior whereUserId($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberBadBehavior withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|MemberRealAuthRecord newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|MemberRealAuthRecord newQuery() * @method static \Illuminate\Database\Eloquent\Builder|MemberRealAuthRecord onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|MemberRealAuthRecord query() * @method static \Illuminate\Database\Eloquent\Builder|MemberRealAuthRecord whereAuditRemark($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberRealAuthRecord whereAuditTime($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberRealAuthRecord whereAuditor($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberRealAuthRecord whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberRealAuthRecord whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberRealAuthRecord whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberRealAuthRecord whereIdCard($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberRealAuthRecord whereIdCardBackPhoto($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberRealAuthRecord whereIdCardFrontPhoto($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberRealAuthRecord whereIdCardHandPhoto($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberRealAuthRecord whereRealName($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberRealAuthRecord whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberRealAuthRecord whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberRealAuthRecord whereUserId($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberRealAuthRecord withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|MemberSocialAccount newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|MemberSocialAccount newQuery() * @method static \Illuminate\Database\Eloquent\Builder|MemberSocialAccount onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|MemberSocialAccount query() * @method static \Illuminate\Database\Eloquent\Builder|MemberSocialAccount whereAvatar($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberSocialAccount whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberSocialAccount whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberSocialAccount whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberSocialAccount whereNickname($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberSocialAccount wherePlatform($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberSocialAccount whereSocialId($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberSocialAccount whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberSocialAccount whereUserId($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberSocialAccount withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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 $addresses * @property-read int|null $addresses_count * @property-read \Illuminate\Database\Eloquent\Collection $orders * @property-read int|null $orders_count * @property-read \Illuminate\Database\Eloquent\Collection $tokens * @property-read int|null $tokens_count * @method static \Illuminate\Database\Eloquent\Builder|MemberUser newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|MemberUser newQuery() * @method static \Illuminate\Database\Eloquent\Builder|MemberUser onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|MemberUser query() * @method static \Illuminate\Database\Eloquent\Builder|MemberUser whereAvatar($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberUser whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberUser whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberUser whereGender($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberUser whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberUser whereInviteCode($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberUser whereLastLoginTime($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberUser whereMobile($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberUser whereNickname($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberUser wherePassword($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberUser whereQrcode($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberUser whereRegisterArea($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberUser whereScene($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberUser whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberUser whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|MemberUser withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|Order newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|Order newQuery() * @method static \Illuminate\Database\Eloquent\Builder|Order onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|Order query() * @method static \Illuminate\Database\Eloquent\Builder|Order whereAddress($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereAddressId($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereAgentId($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereAreaCode($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereBalanceAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereChannelId($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereCoachId($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereCustomerServiceId($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereDiscountAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereDistance($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereLatitude($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereLocation($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereLongitude($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereOrderNo($value) * @method static \Illuminate\Database\Eloquent\Builder|Order wherePayAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|Order wherePaymentType($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereProjectAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereProjectId($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereRemark($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereServiceEndTime($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereServiceSnapshot($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereServiceStartTime($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereServiceTime($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereShopId($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereSource($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereTipAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereTotalAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereTrafficAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereType($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Order whereUserId($value) * @method static \Illuminate\Database\Eloquent\Builder|Order withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|OrderComment newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|OrderComment newQuery() * @method static \Illuminate\Database\Eloquent\Builder|OrderComment onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|OrderComment query() * @method static \Illuminate\Database\Eloquent\Builder|OrderComment whereCoachId($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderComment whereContent($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderComment whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderComment whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderComment whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderComment whereOrderId($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderComment whereRating($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderComment whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderComment whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderComment whereUserId($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderComment withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|OrderDistRecord newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|OrderDistRecord newQuery() * @method static \Illuminate\Database\Eloquent\Builder|OrderDistRecord onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|OrderDistRecord query() * @method static \Illuminate\Database\Eloquent\Builder|OrderDistRecord whereAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderDistRecord whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderDistRecord whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderDistRecord whereDistType($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderDistRecord whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderDistRecord whereObjectId($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderDistRecord whereObjectType($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderDistRecord whereOrderId($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderDistRecord whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderDistRecord withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|OrderExcRecord newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|OrderExcRecord newQuery() * @method static \Illuminate\Database\Eloquent\Builder|OrderExcRecord onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|OrderExcRecord query() * @method static \Illuminate\Database\Eloquent\Builder|OrderExcRecord whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderExcRecord whereCustomerServiceId($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderExcRecord whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderExcRecord whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderExcRecord whereOrderId($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderExcRecord whereReason($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderExcRecord whereRemark($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderExcRecord whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderExcRecord whereType($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderExcRecord whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderExcRecord withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|OrderGrabRecord newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|OrderGrabRecord newQuery() * @method static \Illuminate\Database\Eloquent\Builder|OrderGrabRecord onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|OrderGrabRecord query() * @method static \Illuminate\Database\Eloquent\Builder|OrderGrabRecord whereCoachId($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderGrabRecord whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderGrabRecord whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderGrabRecord whereDistance($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderGrabRecord whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderGrabRecord whereOrderId($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderGrabRecord whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderGrabRecord whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderGrabRecord withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|OrderRecord newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|OrderRecord newQuery() * @method static \Illuminate\Database\Eloquent\Builder|OrderRecord onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|OrderRecord query() * @method static \Illuminate\Database\Eloquent\Builder|OrderRecord whereChangeReason($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderRecord whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderRecord whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderRecord whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderRecord whereNewCoachId($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderRecord whereObjectId($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderRecord whereObjectType($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderRecord whereOldCoachId($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderRecord whereOrderId($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderRecord whereRemark($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderRecord whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderRecord whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|OrderRecord withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|Project newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|Project newQuery() * @method static \Illuminate\Database\Eloquent\Builder|Project onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|Project query() * @method static \Illuminate\Database\Eloquent\Builder|Project whereCateId($value) * @method static \Illuminate\Database\Eloquent\Builder|Project whereCover($value) * @method static \Illuminate\Database\Eloquent\Builder|Project whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Project whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Project whereDuration($value) * @method static \Illuminate\Database\Eloquent\Builder|Project whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|Project whereOriginalPrice($value) * @method static \Illuminate\Database\Eloquent\Builder|Project wherePrice($value) * @method static \Illuminate\Database\Eloquent\Builder|Project whereProjectDesc($value) * @method static \Illuminate\Database\Eloquent\Builder|Project whereSales($value) * @method static \Illuminate\Database\Eloquent\Builder|Project whereServiceDesc($value) * @method static \Illuminate\Database\Eloquent\Builder|Project whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|Project whereSubtitle($value) * @method static \Illuminate\Database\Eloquent\Builder|Project whereTitle($value) * @method static \Illuminate\Database\Eloquent\Builder|Project whereType($value) * @method static \Illuminate\Database\Eloquent\Builder|Project whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Project withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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 $projects * @property-read int|null $projects_count * @method static \Illuminate\Database\Eloquent\Builder|ProjectCate newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|ProjectCate newQuery() * @method static \Illuminate\Database\Eloquent\Builder|ProjectCate onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|ProjectCate query() * @method static \Illuminate\Database\Eloquent\Builder|ProjectCate whereCover($value) * @method static \Illuminate\Database\Eloquent\Builder|ProjectCate whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ProjectCate whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ProjectCate whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|ProjectCate whereName($value) * @method static \Illuminate\Database\Eloquent\Builder|ProjectCate whereSort($value) * @method static \Illuminate\Database\Eloquent\Builder|ProjectCate whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|ProjectCate whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ProjectCate withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|ProjectCate withoutTrashed() */ class ProjectCate extends \Eloquent {} } namespace App\Models{ /** * 临时用户列表 * * @method static \Illuminate\Database\Eloquent\Builder|ReportUserList newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|ReportUserList newQuery() * @method static \Illuminate\Database\Eloquent\Builder|ReportUserList onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|ReportUserList query() * @method static \Illuminate\Database\Eloquent\Builder|ReportUserList withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|SettingGroup newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|SettingGroup newQuery() * @method static \Illuminate\Database\Eloquent\Builder|SettingGroup onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|SettingGroup query() * @method static \Illuminate\Database\Eloquent\Builder|SettingGroup whereCode($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingGroup whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingGroup whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingGroup whereDescription($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingGroup whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingGroup whereName($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingGroup whereSort($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingGroup whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingGroup withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|SettingItem newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|SettingItem newQuery() * @method static \Illuminate\Database\Eloquent\Builder|SettingItem onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|SettingItem query() * @method static \Illuminate\Database\Eloquent\Builder|SettingItem whereCode($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingItem whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingItem whereDefaultValue($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingItem whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingItem whereDescription($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingItem whereGroupId($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingItem whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingItem whereMaxValue($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingItem whereMinValue($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingItem whereName($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingItem whereOptions($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingItem whereSort($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingItem whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingItem whereValueType($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingItem withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|SettingPermission newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|SettingPermission newQuery() * @method static \Illuminate\Database\Eloquent\Builder|SettingPermission onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|SettingPermission query() * @method static \Illuminate\Database\Eloquent\Builder|SettingPermission whereCanEdit($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingPermission whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingPermission whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingPermission whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingPermission whereItemId($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingPermission whereMaxValue($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingPermission whereMinValue($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingPermission whereObjectType($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingPermission whereOptions($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingPermission whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingPermission withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|SettingValue newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|SettingValue newQuery() * @method static \Illuminate\Database\Eloquent\Builder|SettingValue onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|SettingValue query() * @method static \Illuminate\Database\Eloquent\Builder|SettingValue whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingValue whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingValue whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingValue whereItemId($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingValue whereObjectId($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingValue whereObjectType($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingValue whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingValue whereValue($value) * @method static \Illuminate\Database\Eloquent\Builder|SettingValue withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|ShopAuthRecord newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord newQuery() * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord query() * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereAuditRemark($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereAuditTime($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereAuditor($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereBusinessHours($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereBusinessLicense($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereContactIdCard($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereContactName($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereContactPhone($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereIdCardBackPhoto($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereIdCardFrontPhoto($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereLatitude($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereLicenseBackPhoto($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereLicenseFrontPhoto($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereLongitude($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereOperatingArea($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereOperatingYears($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereRating($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereShopAddress($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereShopDesc($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereShopId($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereShopName($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereStorefrontBackPhoto($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereStorefrontFrontPhoto($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereStorefrontPhoto($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereTechnicianCount($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopAuthRecord withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|ShopCoachService newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|ShopCoachService newQuery() * @method static \Illuminate\Database\Eloquent\Builder|ShopCoachService onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|ShopCoachService query() * @method static \Illuminate\Database\Eloquent\Builder|ShopCoachService whereCoachId($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopCoachService whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopCoachService whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopCoachService whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopCoachService whereShopServiceId($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopCoachService whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopCoachService whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopCoachService withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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 $authRecords * @property-read int|null $auth_records_count * @property-read \Illuminate\Database\Eloquent\Collection $coaches * @property-read int|null $coaches_count * @property-read \App\Models\MemberUser|null $member * @property-read \Illuminate\Database\Eloquent\Collection $services * @property-read int|null $services_count * @method static \Illuminate\Database\Eloquent\Builder|ShopInfo newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|ShopInfo newQuery() * @method static \Illuminate\Database\Eloquent\Builder|ShopInfo onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|ShopInfo query() * @method static \Illuminate\Database\Eloquent\Builder|ShopInfo whereAuthRecordId($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopInfo whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopInfo whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopInfo whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopInfo whereSalespersonId($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopInfo whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopInfo whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopInfo withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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 $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|ShopService newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|ShopService newQuery() * @method static \Illuminate\Database\Eloquent\Builder|ShopService onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|ShopService query() * @method static \Illuminate\Database\Eloquent\Builder|ShopService whereCover($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopService whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopService whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopService whereDuration($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopService whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopService whereName($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopService wherePrice($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopService whereServiceId($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopService whereShopId($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopService whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopService whereType($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopService whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ShopService withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|SysConfig newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|SysConfig newQuery() * @method static \Illuminate\Database\Eloquent\Builder|SysConfig onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|SysConfig query() * @method static \Illuminate\Database\Eloquent\Builder|SysConfig whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SysConfig whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SysConfig whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|SysConfig whereKey($value) * @method static \Illuminate\Database\Eloquent\Builder|SysConfig whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SysConfig whereValue($value) * @method static \Illuminate\Database\Eloquent\Builder|SysConfig withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|SysRegion newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|SysRegion newQuery() * @method static \Illuminate\Database\Eloquent\Builder|SysRegion onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|SysRegion query() * @method static \Illuminate\Database\Eloquent\Builder|SysRegion whereCityCode($value) * @method static \Illuminate\Database\Eloquent\Builder|SysRegion whereCityName($value) * @method static \Illuminate\Database\Eloquent\Builder|SysRegion whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SysRegion whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SysRegion whereDepth($value) * @method static \Illuminate\Database\Eloquent\Builder|SysRegion whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|SysRegion whereIsUse($value) * @method static \Illuminate\Database\Eloquent\Builder|SysRegion whereLatitude($value) * @method static \Illuminate\Database\Eloquent\Builder|SysRegion whereLongitude($value) * @method static \Illuminate\Database\Eloquent\Builder|SysRegion whereMergerName($value) * @method static \Illuminate\Database\Eloquent\Builder|SysRegion whereParentId($value) * @method static \Illuminate\Database\Eloquent\Builder|SysRegion wherePinyin($value) * @method static \Illuminate\Database\Eloquent\Builder|SysRegion whereShortName($value) * @method static \Illuminate\Database\Eloquent\Builder|SysRegion whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|SysRegion whereZipCode($value) * @method static \Illuminate\Database\Eloquent\Builder|SysRegion withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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 $transRecords * @property-read int|null $trans_records_count * @property-read \Illuminate\Database\Eloquent\Collection $withdrawRecords * @property-read int|null $withdraw_records_count * @method static \Illuminate\Database\Eloquent\Builder|Wallet newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|Wallet newQuery() * @method static \Illuminate\Database\Eloquent\Builder|Wallet onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|Wallet query() * @method static \Illuminate\Database\Eloquent\Builder|Wallet whereAvailableBalance($value) * @method static \Illuminate\Database\Eloquent\Builder|Wallet whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Wallet whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Wallet whereFrozenAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|Wallet whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|Wallet whereOwnerId($value) * @method static \Illuminate\Database\Eloquent\Builder|Wallet whereOwnerType($value) * @method static \Illuminate\Database\Eloquent\Builder|Wallet whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|Wallet whereTotalBalance($value) * @method static \Illuminate\Database\Eloquent\Builder|Wallet whereTotalExpense($value) * @method static \Illuminate\Database\Eloquent\Builder|Wallet whereTotalIncome($value) * @method static \Illuminate\Database\Eloquent\Builder|Wallet whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Wallet withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|WalletPaymentRecord newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord newQuery() * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord query() * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord whereActualAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord whereAreaCode($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord whereNickname($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord whereOrderId($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord wherePaymentMethod($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord wherePaymentNo($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord wherePaymentTime($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord whereRechargeSettingId($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord whereRemark($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord whereTotalAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord whereTransRecordId($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord whereUsedRechargeBalance($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord whereUsedWalletBalance($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord whereWalletId($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletPaymentRecord withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|WalletRefundRecord newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord newQuery() * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord query() * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord whereActualRefundAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord whereExternalNo($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord whereOrderId($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord whereRechargeBalanceRefundAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord whereRefundMethod($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord whereRefundTime($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord whereRemark($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord whereTotalRefundAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord whereTransRecordId($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord whereWalletBalanceRefundAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord whereWalletId($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletRefundRecord withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|WalletSplitRecord newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|WalletSplitRecord newQuery() * @method static \Illuminate\Database\Eloquent\Builder|WalletSplitRecord onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|WalletSplitRecord query() * @method static \Illuminate\Database\Eloquent\Builder|WalletSplitRecord whereAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletSplitRecord whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletSplitRecord whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletSplitRecord whereEntryTime($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletSplitRecord whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletSplitRecord whereOrderId($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletSplitRecord whereRemark($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletSplitRecord whereRuleId($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletSplitRecord whereSplitAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletSplitRecord whereSplitRatio($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletSplitRecord whereSplitType($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletSplitRecord whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletSplitRecord whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletSplitRecord withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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 $paymentRecords * @property-read int|null $payment_records_count * @property-read \Illuminate\Database\Eloquent\Collection $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|WalletTransRecord newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord newQuery() * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord query() * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereAfterBalance($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereAfterRechargeBalance($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereBeforeBalance($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereBeforeRechargeBalance($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereCity($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereDistrict($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereOwnerId($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereOwnerType($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereProvince($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereRemark($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereRole($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereStorageType($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereTransNo($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereTransTime($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereTransType($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord whereWalletId($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletTransRecord withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|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|WalletWithdrawRecord newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord newQuery() * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord onlyTrashed() * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord query() * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereAmount($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereAreaCode($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereAuditRemark($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereAuditState($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereAuditTime($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereAuditor($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereExternalNo($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereFee($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereRemark($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereTransNo($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereWalletId($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereWithdrawAccount($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereWithdrawAccountName($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereWithdrawTime($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord whereWithdrawType($value) * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord withTrashed() * @method static \Illuminate\Database\Eloquent\Builder|WalletWithdrawRecord withoutTrashed() */ class WalletWithdrawRecord extends \Eloquent {} }