mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-07 12:38:11 +08:00
fix: 更新所有模型的字段IDE提示注释
This commit is contained in:
parent
6cc8ae3589
commit
88ff71b5a2
@ -22,6 +22,14 @@ use think\admin\Model;
|
||||
|
||||
/**
|
||||
* 用户权限模型
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 权限状态(1使用,0禁用)
|
||||
* @property string $create_at 创建时间
|
||||
* @property string $desc 备注说明
|
||||
* @property string $title 权限名称
|
||||
* @property string $utype 身份权限
|
||||
* @class SystemAuth
|
||||
* @package think\admin\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,18 @@ use think\admin\Model;
|
||||
|
||||
/**
|
||||
* 数据字典模型
|
||||
*
|
||||
* @property int $deleted 删除状态(0正常,1已删)
|
||||
* @property int $deleted_by 删除用户
|
||||
* @property int $id
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 数据状态(0禁用,1启动)
|
||||
* @property string $code 数据代码
|
||||
* @property string $content 数据内容
|
||||
* @property string $create_at 创建时间
|
||||
* @property string $deleted_at 删除时间
|
||||
* @property string $name 数据名称
|
||||
* @property string $type 数据类型
|
||||
* @class SystemBase
|
||||
* @package think\admin\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,11 @@ use think\admin\Model;
|
||||
|
||||
/**
|
||||
* 系统配置模型
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name 配置名称
|
||||
* @property string $type 配置分类
|
||||
* @property string $value 配置内容
|
||||
* @class SystemConfig
|
||||
* @package think\admin\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,12 @@ use think\admin\Model;
|
||||
|
||||
/**
|
||||
* 系统数据模型
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $name 配置名
|
||||
* @property string $update_time 更新时间
|
||||
* @property string $value 配置值
|
||||
* @class SystemData
|
||||
* @package think\admin\model
|
||||
*/
|
||||
|
||||
@ -23,6 +23,25 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 文件管理系统
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $isfast 是否秒传
|
||||
* @property int $issafe 安全模式
|
||||
* @property int $size 文件大小
|
||||
* @property int $status 上传状态(1悬空,2落地)
|
||||
* @property int $unid 会员编号
|
||||
* @property int $uuid 用户编号
|
||||
* @property string $create_at 创建时间
|
||||
* @property string $hash 文件哈希
|
||||
* @property string $mime 文件类型
|
||||
* @property string $name 文件名称
|
||||
* @property string $tags 文件标签
|
||||
* @property string $type 上传类型
|
||||
* @property string $update_at 更新时间
|
||||
* @property string $xext 文件后缀
|
||||
* @property string $xkey 文件路径
|
||||
* @property string $xurl 访问链接
|
||||
* @property-read \think\admin\model\SystemUser $user
|
||||
* @class SystemFile
|
||||
* @package think\admin\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,18 @@ use think\admin\Model;
|
||||
|
||||
/**
|
||||
* 系统菜单模型
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $pid 上级ID
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 状态(0:禁用,1:启用)
|
||||
* @property string $create_at 创建时间
|
||||
* @property string $icon 菜单图标
|
||||
* @property string $node 节点代码
|
||||
* @property string $params 链接参数
|
||||
* @property string $target 打开方式
|
||||
* @property string $title 菜单名称
|
||||
* @property string $url 链接节点
|
||||
* @class SystemMenu
|
||||
* @package think\admin\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,10 @@ use think\admin\Model;
|
||||
|
||||
/**
|
||||
* 授权节点模型
|
||||
*
|
||||
* @property int $auth 角色
|
||||
* @property int $id
|
||||
* @property string $node 节点
|
||||
* @class SystemNode
|
||||
* @mixin \think\db\Query
|
||||
* @package think\admin\model
|
||||
|
||||
@ -22,6 +22,14 @@ use think\admin\Model;
|
||||
|
||||
/**
|
||||
* 系统日志模型
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $action 操作行为名称
|
||||
* @property string $content 操作内容描述
|
||||
* @property string $create_at 创建时间
|
||||
* @property string $geoip 操作者IP地址
|
||||
* @property string $node 当前操作节点
|
||||
* @property string $username 操作人用户名
|
||||
* @class SystemOplog
|
||||
* @package think\admin\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,23 @@ use think\admin\Model;
|
||||
|
||||
/**
|
||||
* 系统任务模型
|
||||
*
|
||||
* @property int $attempts 执行次数
|
||||
* @property int $exec_pid 执行进程
|
||||
* @property int $id
|
||||
* @property int $loops_time 循环时间
|
||||
* @property int $rscript 任务类型(0单例,1多例)
|
||||
* @property int $status 任务状态(1新任务,2处理中,3成功,4失败)
|
||||
* @property string $code 任务编号
|
||||
* @property string $command 执行指令
|
||||
* @property string $create_at 创建时间
|
||||
* @property string $enter_time 开始时间
|
||||
* @property string $exec_data 执行参数
|
||||
* @property string $exec_desc 执行描述
|
||||
* @property string $exec_time 执行时间
|
||||
* @property string $message 最新消息
|
||||
* @property string $outer_time 结束时间
|
||||
* @property string $title 任务名称
|
||||
* @class SystemQueue
|
||||
* @package think\admin\model
|
||||
*/
|
||||
|
||||
@ -23,6 +23,26 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 系统用户模型
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $is_deleted 删除(1删除,0未删)
|
||||
* @property int $login_num 登录次数
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 状态(0禁用,1启用)
|
||||
* @property string $authorize 权限授权
|
||||
* @property string $contact_mail 联系邮箱
|
||||
* @property string $contact_phone 联系手机
|
||||
* @property string $contact_qq 联系QQ
|
||||
* @property string $create_at 创建时间
|
||||
* @property string $describe 备注说明
|
||||
* @property string $headimg 头像地址
|
||||
* @property string $login_at 登录时间
|
||||
* @property string $login_ip 登录地址
|
||||
* @property string $nickname 用户昵称
|
||||
* @property string $password 用户密码
|
||||
* @property string $username 用户账号
|
||||
* @property string $usertype 用户类型
|
||||
* @property-read \think\admin\model\SystemBase $userinfo
|
||||
* @class SystemUser
|
||||
* @package think\admin\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,16 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 子账号授权模型
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $time 有效时间
|
||||
* @property int $usid 终端账号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $token 授权令牌
|
||||
* @property string $tokenv 授权验证
|
||||
* @property string $type 授权类型
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\account\model\PluginAccountBind $client
|
||||
* @class PluginAccountAuth
|
||||
* @package plugin\account\model
|
||||
*/
|
||||
|
||||
@ -24,6 +24,25 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 用户子账号模型
|
||||
*
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $id
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 账号状态
|
||||
* @property int $unid 会员编号
|
||||
* @property string $appid APPID
|
||||
* @property string $create_time 注册时间
|
||||
* @property string $extra 扩展数据
|
||||
* @property string $headimg 用户头像
|
||||
* @property string $nickname 用户昵称
|
||||
* @property string $openid OPENID
|
||||
* @property string $password 登录密码
|
||||
* @property string $phone 绑定手机
|
||||
* @property string $type 终端类型
|
||||
* @property string $unionid UnionID
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\account\model\PluginAccountAuth[] $auths
|
||||
* @property-read \plugin\account\model\PluginAccountUser $user
|
||||
* @class PluginAccountBind
|
||||
* @package plugin\account\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,19 @@ use plugin\account\service\Message;
|
||||
|
||||
/**
|
||||
* 账号短信验证模型
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $status 短信状态(0失败,1成功)
|
||||
* @property int $unid 账号编号
|
||||
* @property int $usid 终端编号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $params 短信内容
|
||||
* @property string $phone 目标手机
|
||||
* @property string $result 返回结果
|
||||
* @property string $scene 业务场景
|
||||
* @property string $smsid 消息编号
|
||||
* @property string $type 短信类型
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginAccountMsms
|
||||
* @package plugin\account\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,27 @@ use think\model\relation\HasMany;
|
||||
|
||||
/**
|
||||
* 用户账号模型
|
||||
*
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $id
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 用户状态(0拉黑,1正常)
|
||||
* @property string $code 用户编号
|
||||
* @property string $create_time 注册时间
|
||||
* @property string $email 用户邮箱
|
||||
* @property string $extra 扩展数据
|
||||
* @property string $headimg 用户头像
|
||||
* @property string $nickname 用户昵称
|
||||
* @property string $password 认证密码
|
||||
* @property string $phone 用户手机
|
||||
* @property string $region_area 所在区域
|
||||
* @property string $region_city 所在城市
|
||||
* @property string $region_prov 所在省份
|
||||
* @property string $remark 备注(内部使用)
|
||||
* @property string $unionid UnionID
|
||||
* @property string $update_time 更新时间
|
||||
* @property string $username 用户姓名
|
||||
* @property-read \plugin\account\model\PluginAccountBind[] $clients
|
||||
* @class PluginAccountUser
|
||||
* @package plugin\account\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,22 @@ use plugin\account\model\Abs;
|
||||
|
||||
/**
|
||||
* 用户地址模型
|
||||
*
|
||||
* @property int $deleted 删除状态(1已删,0未删)
|
||||
* @property int $id
|
||||
* @property int $type 默认状态(0普通,1默认)
|
||||
* @property int $unid 主账号ID
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $idcode 身体证证号
|
||||
* @property string $idimg1 身份证正面
|
||||
* @property string $idimg2 身份证反面
|
||||
* @property string $region_addr 地址-详情
|
||||
* @property string $region_area 地址-区域
|
||||
* @property string $region_city 地址-城市
|
||||
* @property string $region_prov 地址-省份
|
||||
* @property string $update_time 更新时间
|
||||
* @property string $user_name 收货人姓名
|
||||
* @property string $user_phone 收货人手机
|
||||
* @class PluginPaymentAddress
|
||||
* @package plugin\payment\model
|
||||
*/
|
||||
|
||||
@ -20,6 +20,24 @@ namespace plugin\payment\model;
|
||||
|
||||
/**
|
||||
* 用户余额模型
|
||||
*
|
||||
* @property float $amount 操作金额
|
||||
* @property float $amount_next 操作后金额
|
||||
* @property float $amount_prev 操作前金额
|
||||
* @property int $cancel 作废状态(0未作废,1已作废)
|
||||
* @property int $create_by 系统用户
|
||||
* @property int $deleted 删除状态(0未删除,1已删除)
|
||||
* @property int $id
|
||||
* @property int $unid 账号编号
|
||||
* @property int $unlock 解锁状态(0锁定中,1已生效)
|
||||
* @property string $cancel_time 作废时间
|
||||
* @property string $code 操作编号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $deleted_time 删除时间
|
||||
* @property string $name 操作名称
|
||||
* @property string $remark 操作备注
|
||||
* @property string $unlock_time 解锁时间
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginPaymentBalance
|
||||
* @package plugin\payment\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,19 @@ use plugin\account\model\Abs;
|
||||
|
||||
/**
|
||||
* 用户支付参数模型
|
||||
*
|
||||
* @property array $content 支付参数
|
||||
* @property int $deleted 删除状态
|
||||
* @property int $id
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 支付状态(1使用,0禁用)
|
||||
* @property string $code 通道编号
|
||||
* @property string $cover 支付图标
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $name 支付名称
|
||||
* @property string $remark 支付说明
|
||||
* @property string $type 支付类型
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginPaymentConfig
|
||||
* @package plugin\payment\model
|
||||
*/
|
||||
|
||||
@ -24,6 +24,25 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 用户积分模型
|
||||
*
|
||||
* @property float $amount 操作金额
|
||||
* @property float $amount_next 操作后金额
|
||||
* @property float $amount_prev 操作前金额
|
||||
* @property int $cancel 作废状态(0未作废,1已作废)
|
||||
* @property int $create_by 系统用户
|
||||
* @property int $deleted 删除状态(0未删除,1已删除)
|
||||
* @property int $id
|
||||
* @property int $unid 账号编号
|
||||
* @property int $unlock 解锁状态(0锁定中,1已生效)
|
||||
* @property string $cancel_time 作废时间
|
||||
* @property string $code 操作编号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $deleted_time 删除时间
|
||||
* @property string $name 操作名称
|
||||
* @property string $remark 操作备注
|
||||
* @property string $unlock_time 解锁时间
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\account\model\PluginAccountUser $user
|
||||
* @class PluginPaymentIntegral
|
||||
* @package plugin\payment\model
|
||||
*/
|
||||
|
||||
@ -26,6 +26,40 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 用户支付行为模型
|
||||
*
|
||||
* @property array $payment_notify 支付通知内容
|
||||
* @property float $order_amount 原订单金额
|
||||
* @property float $payment_amount 实际支付金额
|
||||
* @property float $payment_coupon 平台优惠券金额
|
||||
* @property float $refund_amount 累计退款
|
||||
* @property float $refund_balance 退回余额
|
||||
* @property float $refund_integral 退回积分
|
||||
* @property float $refund_payment 退回金额
|
||||
* @property float $used_balance 扣除余额
|
||||
* @property float $used_integral 扣除积分
|
||||
* @property float $used_payment 支付金额
|
||||
* @property int $audit_status 审核状态(0已拒,1待审,2已审)
|
||||
* @property int $audit_user 审核用户(系统用户ID)
|
||||
* @property int $id
|
||||
* @property int $payment_status 支付状态(0未付,1已付,2取消)
|
||||
* @property int $refund_status 退款状态(0未退,1已退)
|
||||
* @property int $unid 主账号编号
|
||||
* @property int $usid 子账号编号
|
||||
* @property string $audit_remark 审核描述
|
||||
* @property string $audit_time 审核时间
|
||||
* @property string $channel_code 支付通道编号
|
||||
* @property string $channel_type 支付通道类型
|
||||
* @property string $code 发起支付号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $order_name 原订单标题
|
||||
* @property string $order_no 原订单编号
|
||||
* @property string $payment_images 凭证支付图片
|
||||
* @property string $payment_remark 支付状态备注
|
||||
* @property string $payment_time 支付生效时间
|
||||
* @property string $payment_trade 平台交易编号
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\account\model\PluginAccountBind $device
|
||||
* @property-read array $user
|
||||
* @class PluginPaymentRecord
|
||||
* @package plugin\payment\model
|
||||
*/
|
||||
|
||||
@ -24,6 +24,27 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 用户支付退款模型
|
||||
*
|
||||
* @property float $refund_amount 退款金额
|
||||
* @property float $used_balance 退回余额
|
||||
* @property float $used_integral 退回积分
|
||||
* @property float $used_payment 退回金额
|
||||
* @property int $id
|
||||
* @property int $refund_status 支付状态(0未付,1已付,2取消)
|
||||
* @property int $unid 主账号编号
|
||||
* @property int $usid 子账号编号
|
||||
* @property string $code 发起支付号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $record_code 子支付编号
|
||||
* @property string $refund_account 退回账号
|
||||
* @property string $refund_notify 通知内容
|
||||
* @property string $refund_remark 退款备注
|
||||
* @property string $refund_scode 状态编码
|
||||
* @property string $refund_time 完成时间
|
||||
* @property string $refund_trade 交易编号
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\account\model\PluginAccountUser $user
|
||||
* @property-read \plugin\payment\model\PluginPaymentRecord $record
|
||||
* @class PluginPaymentRecord
|
||||
* @package plugin\payment\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,31 @@ use think\admin\Model;
|
||||
|
||||
/**
|
||||
* Class WechatAuth
|
||||
*
|
||||
* @property int $auth_time 授权时间
|
||||
* @property int $deleted 删除状态(0未删除,1已删除)
|
||||
* @property int $expires_in Token时限
|
||||
* @property int $id
|
||||
* @property int $status 授权状态(0已取消,1已授权)
|
||||
* @property int $total 统计调用次数
|
||||
* @property string $appkey 应用接口KEY
|
||||
* @property string $appuri 应用接口URI
|
||||
* @property string $authorizer_access_token 授权Token
|
||||
* @property string $authorizer_appid 微信APPID
|
||||
* @property string $authorizer_refresh_token 刷新Token
|
||||
* @property string $businessinfo 业务序列内容
|
||||
* @property string $create_at 创建时间
|
||||
* @property string $func_info 公众号集权
|
||||
* @property string $miniprograminfo 小程序序列内容
|
||||
* @property string $qrcode_url 公众号二维码
|
||||
* @property string $service_type 公众号类型
|
||||
* @property string $service_verify 公众号认证
|
||||
* @property string $user_alias 公众号别名
|
||||
* @property string $user_company 公众号公司
|
||||
* @property string $user_headimg 公众号头像
|
||||
* @property string $user_name 众众号原账号
|
||||
* @property string $user_nickname 公众号昵称
|
||||
* @property string $user_signature 公众号描述
|
||||
* @package plugin\wechat\service\model
|
||||
*/
|
||||
class WechatAuth extends Model
|
||||
|
||||
@ -22,6 +22,26 @@ use think\admin\Model;
|
||||
|
||||
/**
|
||||
* 微信自动回复模型
|
||||
*
|
||||
* @property int $create_by 创建人
|
||||
* @property int $id
|
||||
* @property int $news_id 图文ID
|
||||
* @property int $status 状态(0禁用,1启用)
|
||||
* @property string $appid 公众号APPID
|
||||
* @property string $code 消息编号
|
||||
* @property string $content 文本内容
|
||||
* @property string $create_at 创建时间
|
||||
* @property string $image_url 图片链接
|
||||
* @property string $music_desc 音乐描述
|
||||
* @property string $music_image 缩略图片
|
||||
* @property string $music_title 音乐标题
|
||||
* @property string $music_url 音乐链接
|
||||
* @property string $time 延迟时间
|
||||
* @property string $type 类型(text,image,news)
|
||||
* @property string $video_desc 视频描述
|
||||
* @property string $video_title 视频标题
|
||||
* @property string $video_url 视频URL
|
||||
* @property string $voice_url 语音链接
|
||||
* @class WechatAuto
|
||||
* @package app\wechat\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,28 @@ use think\admin\Model;
|
||||
|
||||
/**
|
||||
* 微信粉丝用户模型
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $is_black 是否为黑名单状态
|
||||
* @property int $sex 用户性别(1男性,2女性,0未知)
|
||||
* @property int $subscribe 关注状态(0未关注,1已关注)
|
||||
* @property int $subscribe_time 关注时间
|
||||
* @property string $appid 公众号APPID
|
||||
* @property string $city 用户所在城市
|
||||
* @property string $country 用户所在国家
|
||||
* @property string $create_at 创建时间
|
||||
* @property string $headimgurl 用户头像
|
||||
* @property string $language 用户的语言(zh_CN)
|
||||
* @property string $nickname 用户昵称
|
||||
* @property string $openid 粉丝openid
|
||||
* @property string $province 用户所在省份
|
||||
* @property string $qr_scene 二维码场景值
|
||||
* @property string $qr_scene_str 二维码场景内容
|
||||
* @property string $remark 备注
|
||||
* @property string $subscribe_at 关注时间
|
||||
* @property string $subscribe_scene 扫码关注场景
|
||||
* @property string $tagid_list 粉丝标签id
|
||||
* @property string $unionid 粉丝unionid
|
||||
* @class WechatFans
|
||||
* @package app\wechat\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,12 @@ use think\admin\Model;
|
||||
|
||||
/**
|
||||
* 微信粉丝标签模型
|
||||
*
|
||||
* @property int $count 粉丝总数
|
||||
* @property int $id
|
||||
* @property string $appid 公众号APPID
|
||||
* @property string $create_at 创建日期
|
||||
* @property string $name 标签名称
|
||||
* @class WechatFansTags
|
||||
* @package app\wechat\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,26 @@ use think\admin\Model;
|
||||
|
||||
/**
|
||||
* 微信回复关键词模型
|
||||
*
|
||||
* @property int $create_by 创建人
|
||||
* @property int $id
|
||||
* @property int $news_id 图文ID
|
||||
* @property int $sort 排序字段
|
||||
* @property int $status 状态(0禁用,1启用)
|
||||
* @property string $appid 公众号APPID
|
||||
* @property string $content 文本内容
|
||||
* @property string $create_at 创建时间
|
||||
* @property string $image_url 图片链接
|
||||
* @property string $keys 关键字
|
||||
* @property string $music_desc 音乐描述
|
||||
* @property string $music_image 缩略图片
|
||||
* @property string $music_title 音乐标题
|
||||
* @property string $music_url 音乐链接
|
||||
* @property string $type 类型(text,image,news)
|
||||
* @property string $video_desc 视频描述
|
||||
* @property string $video_title 视频标题
|
||||
* @property string $video_url 视频URL
|
||||
* @property string $voice_url 语音链接
|
||||
* @class WechatKeys
|
||||
* @package app\wechat\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,15 @@ use think\admin\Model;
|
||||
|
||||
/**
|
||||
* 微信媒体文件模型
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $appid 公众号ID
|
||||
* @property string $create_at 创建时间
|
||||
* @property string $local_url 本地文件链接
|
||||
* @property string $md5 文件哈希
|
||||
* @property string $media_id 永久素材MediaID
|
||||
* @property string $media_url 远程图片链接
|
||||
* @property string $type 媒体类型
|
||||
* @class WechatMedia
|
||||
* @package app\wechat\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,14 @@ use think\admin\Model;
|
||||
|
||||
/**
|
||||
* 微信图文主模型
|
||||
*
|
||||
* @property int $create_by 创建人
|
||||
* @property int $id
|
||||
* @property int $is_deleted 删除状态(0未删除,1已删除)
|
||||
* @property string $article_id 关联图文ID(用英文逗号做分割)
|
||||
* @property string $create_at 创建时间
|
||||
* @property string $local_url 永久素材外网URL
|
||||
* @property string $media_id 永久素材MediaID
|
||||
* @class WechatNews
|
||||
* @package app\wechat\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,17 @@ use think\admin\Model;
|
||||
|
||||
/**
|
||||
* 微信图文详细模型
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $read_num 阅读数量
|
||||
* @property int $show_cover_pic 显示封面(0不显示,1显示)
|
||||
* @property string $author 文章作者
|
||||
* @property string $content 图文内容
|
||||
* @property string $content_source_url 原文地址
|
||||
* @property string $create_at 创建时间
|
||||
* @property string $digest 摘要内容
|
||||
* @property string $local_url 永久素材URL
|
||||
* @property string $title 素材标题
|
||||
* @class WechatNewsArticle
|
||||
* @package app\wechat\model
|
||||
*/
|
||||
|
||||
@ -24,6 +24,28 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 微信支付行为模型
|
||||
*
|
||||
* @property float $order_amount 原订单金额
|
||||
* @property float $payment_amount 实际到账金额
|
||||
* @property float $refund_amount 退款金额
|
||||
* @property int $id
|
||||
* @property int $payment_status 支付状态(0未付,1已付,2取消)
|
||||
* @property int $refund_status 退款状态(0未退,1已退)
|
||||
* @property string $appid 发起APPID
|
||||
* @property string $code 发起支付号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $openid 用户OPENID
|
||||
* @property string $order_code 原订单编号
|
||||
* @property string $order_name 原订单标题
|
||||
* @property string $payment_bank 支付银行类型
|
||||
* @property string $payment_notify 支付结果通知
|
||||
* @property string $payment_remark 支付状态备注
|
||||
* @property string $payment_time 支付完成时间
|
||||
* @property string $payment_trade 平台交易编号
|
||||
* @property string $type 交易方式
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \app\wechat\model\WechatFans $bind_fans
|
||||
* @property-read \app\wechat\model\WechatFans $fans
|
||||
* @class WechatPaymentRecord
|
||||
* @package app\wechat\model
|
||||
*/
|
||||
|
||||
@ -23,6 +23,21 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 微信支付退款模型
|
||||
*
|
||||
* @property float $refund_amount 实际到账金额
|
||||
* @property int $id
|
||||
* @property int $refund_status 支付状态(0未付,1已付,2取消)
|
||||
* @property string $code 发起支付号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $record_code 子支付编号
|
||||
* @property string $refund_account 退款目标账号
|
||||
* @property string $refund_notify 退款交易通知
|
||||
* @property string $refund_remark 支付状态备注
|
||||
* @property string $refund_scode 退款状态码
|
||||
* @property string $refund_time 支付完成时间
|
||||
* @property string $refund_trade 平台交易编号
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \app\wechat\model\WechatPaymentRecord $record
|
||||
* @class WechatPaymentRefund
|
||||
* @package app\wechat\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,19 @@ use plugin\account\model\Abs;
|
||||
|
||||
/**
|
||||
* 商城代理等级数据
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $number 级别序号
|
||||
* @property int $status 等级状态(1使用,0禁用)
|
||||
* @property int $upgrade_type 升级规则(0单个,1同时)
|
||||
* @property int $utime 更新时间
|
||||
* @property string $cardbg 等级卡片
|
||||
* @property string $cover 等级图标
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $extra 升级规则
|
||||
* @property string $name 级别名称
|
||||
* @property string $remark 级别描述
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWemallConfigAgent
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -23,6 +23,28 @@ use think\model\relation\HasMany;
|
||||
|
||||
/**
|
||||
* 商城卡券模型
|
||||
*
|
||||
* @property array $limit_levels 授权等级
|
||||
* @property float $amount 抵扣金额
|
||||
* @property float $limit_amount 金额门槛(0不限制)
|
||||
* @property int $deleted 删除状态(1已删,0未删)
|
||||
* @property int $expire_days 有效天数
|
||||
* @property int $id
|
||||
* @property int $limit_times 限领数量(0不限制)
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 卡券状态(0禁用,1使用)
|
||||
* @property int $total_sales 发放数量
|
||||
* @property int $total_stock 库存数量
|
||||
* @property int $total_used 使用数量
|
||||
* @property int $type 类型(0通用券,1商品券)
|
||||
* @property string $content 内容描述
|
||||
* @property string $cover 封面图标
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $extra 扩展数据
|
||||
* @property string $name 优惠名称
|
||||
* @property string $remark 系统备注
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\wemall\model\PluginWemallUserCoupon[] $usable
|
||||
* @class PluginWemallConfigCoupon
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,16 @@ use plugin\account\model\Abs;
|
||||
|
||||
/**
|
||||
* 用户优惠方案数据
|
||||
*
|
||||
* @property array $items 方案规则
|
||||
* @property int $deleted 删除状态(1已删,0未删)
|
||||
* @property int $id
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 方案状态(0禁用,1使用)
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $name 方案名称
|
||||
* @property string $remark 方案描述
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWemallConfigDiscount
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,20 @@ use plugin\account\model\Abs;
|
||||
|
||||
/**
|
||||
* 商城会员等级数据
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $number 级别序号
|
||||
* @property int $status 等级状态(1使用,0禁用)
|
||||
* @property int $upgrade_team 团队人数统计(0不计,1累计)
|
||||
* @property int $upgrade_type 升级规则(0单个,1同时)
|
||||
* @property int $utime 更新时间
|
||||
* @property string $cardbg 等级卡片
|
||||
* @property string $cover 等级图标
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $extra 配置规则
|
||||
* @property string $name 级别名称
|
||||
* @property string $remark 用户级别描述
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWemallConfigLevel
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,21 @@ use plugin\account\model\Abs;
|
||||
|
||||
/**
|
||||
* 系统通知内容数据
|
||||
*
|
||||
* @property int $deleted 删除状态(1已删,0未删)
|
||||
* @property int $id
|
||||
* @property int $num_read 阅读次数
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 激活状态(0无效,1有效)
|
||||
* @property int $tips TIPS显示
|
||||
* @property string $code 通知编号
|
||||
* @property string $content 通知内容
|
||||
* @property string $cover 通知图片
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $levels 用户等级
|
||||
* @property string $name 通知标题
|
||||
* @property string $remark 通知描述
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWemallConfigNotify
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -24,6 +24,20 @@ use think\db\Query;
|
||||
|
||||
/**
|
||||
* 商城推广海报数据
|
||||
*
|
||||
* @property array $devices 接口通道
|
||||
* @property array $levels 用户等级
|
||||
* @property int $deleted 删除状态(1已删,0未删)
|
||||
* @property int $id
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 激活状态(0无效,1有效)
|
||||
* @property string $code 推广编号
|
||||
* @property string $content 二维位置
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $image 推广图片
|
||||
* @property string $name 推广标题
|
||||
* @property string $remark 推广描述
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWemallConfigPoster
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -23,6 +23,31 @@ use plugin\wemall\service\UserRebate;
|
||||
|
||||
/**
|
||||
* 商城返佣配置
|
||||
*
|
||||
* @property float $p0_reward_number 会员计算系数
|
||||
* @property float $p1_reward_number 上1级计算系数
|
||||
* @property float $p2_reward_number 上2级计算系数
|
||||
* @property float $p3_reward_number 上3级计算系数
|
||||
* @property int $deleted 删除状态(1已删,0未删)
|
||||
* @property int $id
|
||||
* @property int $p0_level 会员等级
|
||||
* @property int $p0_reward_type 会员计算类型(0固定金额,1交易比例,2利润比例)
|
||||
* @property int $p1_level 上1级等级
|
||||
* @property int $p1_reward_type 上1级计算类型(0固定金额,1交易比例,2利润比例)
|
||||
* @property int $p2_level 上2级等级
|
||||
* @property int $p2_reward_type 上2级计算类型(0固定金额,1交易比例,2利润比例)
|
||||
* @property int $p3_level 上3级等级
|
||||
* @property int $p3_reward_type 上3级计算类型(0固定金额,1交易比例,2利润比例)
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 激活状态(0无效,1有效)
|
||||
* @property int $stype 结算类型(0支付结算,1收货结算)
|
||||
* @property string $code 配置编号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $name 配置名称
|
||||
* @property string $path 等级关系
|
||||
* @property string $remark 配置描述
|
||||
* @property string $type 奖励类型
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWemallConfigRebate
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,16 @@ use plugin\account\model\Abs;
|
||||
|
||||
/**
|
||||
* 商城快递公司数据
|
||||
*
|
||||
* @property int $deleted 删除状态(1已删,0未删)
|
||||
* @property int $id
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 激活状态(0无效,1有效)
|
||||
* @property string $code 公司代码
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $name 公司名称
|
||||
* @property string $remark 公司描述
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWemallExpressCompany
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,18 @@ use plugin\account\model\Abs;
|
||||
|
||||
/**
|
||||
* 商城快递模板数据
|
||||
*
|
||||
* @property array $company 快递公司
|
||||
* @property array $content 模板规则
|
||||
* @property array $normal 默认规则
|
||||
* @property int $deleted 删除状态(1已删,0未删)
|
||||
* @property int $id
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 激活状态(0无效,1有效)
|
||||
* @property string $code 模板编号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $name 模板名称
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWemallExpressTemplate
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -24,6 +24,41 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 商城商品数据数据
|
||||
*
|
||||
* @property array $cates 分类编号
|
||||
* @property array $marks 商品标签
|
||||
* @property array $slider 轮播图片
|
||||
* @property array $specs 商品规格(JSON)
|
||||
* @property float $allow_balance 最大余额支付
|
||||
* @property float $allow_integral 最大积分兑换
|
||||
* @property float $price_market 最低市场价格
|
||||
* @property float $price_selling 最低销售价格
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $discount_id 折扣方案编号(0无折扣,其他折扣)
|
||||
* @property int $id
|
||||
* @property int $level_agent 推广权益(0无,1有)
|
||||
* @property int $level_upgrade 购买升级等级(-1非入会,0不升级,其他升级)
|
||||
* @property int $limit_lowvip 限制购买等级(0不限制,其他限制)
|
||||
* @property int $limit_maxnum 最大购买数量(0不限制,其他限制)
|
||||
* @property int $num_read 访问阅读统计
|
||||
* @property int $rebate_type 参与返利(0无需返利,1需要返利)
|
||||
* @property int $sort 列表排序权重
|
||||
* @property int $ssid 所属商家
|
||||
* @property int $status 商品状态(1使用,0禁用)
|
||||
* @property int $stock_sales 商品销售统计
|
||||
* @property int $stock_total 商品库存统计
|
||||
* @property int $stock_virtual 商品虚拟销量
|
||||
* @property string $code 商品编号
|
||||
* @property string $content 商品详情
|
||||
* @property string $cover 商品封面
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $delivery_code 物流运费模板
|
||||
* @property string $name 商品名称
|
||||
* @property string $remark 商品描述
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\wemall\model\PluginWemallConfigDiscount $discount
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoodsItem[] $items
|
||||
* @property-read \plugin\wemall\model\PluginWemallUserActionComment[] $comments
|
||||
* @class PluginWemallGoods
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -23,6 +23,17 @@ use think\admin\extend\DataExtend;
|
||||
|
||||
/**
|
||||
* 商城商品分类数据
|
||||
*
|
||||
* @property int $deleted 删除状态
|
||||
* @property int $id
|
||||
* @property int $pid 上级分类
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 使用状态
|
||||
* @property string $cover 分类图标
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $name 分类名称
|
||||
* @property string $remark 分类描述
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWemallGoodsCate
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -23,6 +23,30 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 商城商品规格数据
|
||||
*
|
||||
* @property float $allow_balance 余额支付
|
||||
* @property float $allow_integral 兑换积分
|
||||
* @property float $price_cost 进货成本
|
||||
* @property float $price_market 市场价格
|
||||
* @property float $price_selling 销售价格
|
||||
* @property float $reward_balance 奖励余额
|
||||
* @property float $reward_integral 奖励积分
|
||||
* @property int $id
|
||||
* @property int $number_express 计件系数
|
||||
* @property int $number_virtual 虚拟销量
|
||||
* @property int $status 商品状态
|
||||
* @property int $stock_sales 销售数量
|
||||
* @property int $stock_total 商品库存
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $gcode 商品编号
|
||||
* @property string $ghash 商品哈希
|
||||
* @property string $gimage 商品图片
|
||||
* @property string $gsku 商品SKU
|
||||
* @property string $gspec 商品规格
|
||||
* @property string $gunit 商品单位
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoods $bind_goods
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoods $goods
|
||||
* @class PluginWemallGoodsItem
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,14 @@ use plugin\account\model\Abs;
|
||||
|
||||
/**
|
||||
* 商城商品标签数据
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 标签状态(1使用,0禁用)
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $name 标签名称
|
||||
* @property string $remark 标签描述
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWemallGoodsMark
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,17 @@ use plugin\account\model\Abs;
|
||||
|
||||
/**
|
||||
* 商城商品库存数据
|
||||
*
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $gstock 入库数量
|
||||
* @property int $id
|
||||
* @property int $status 数据状态(1使用,0禁用)
|
||||
* @property string $batch_no 操作批量
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $gcode 商品编号
|
||||
* @property string $ghash 商品哈希
|
||||
* @property string $gspec 商品规格
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWemallGoodsStock
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -23,6 +23,23 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 意见反馈数据模型
|
||||
*
|
||||
* @property array $images 反馈图片
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $id
|
||||
* @property int $reply_by 回复用户
|
||||
* @property int $reply_st 回复状态
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 展示状态(1使用,0禁用)
|
||||
* @property int $sync 同步至常见问题状态(1已同步,0未同步)
|
||||
* @property int $unid 反馈用户
|
||||
* @property string $content 反馈内容
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $phone 联系电话
|
||||
* @property string $reply 回复内容
|
||||
* @property string $reply_time 回复时间
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \think\admin\model\SystemUser $bind_admin
|
||||
* @class PluginWemallHelpFeedback
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -20,6 +20,19 @@ namespace plugin\wemall\model;
|
||||
|
||||
/**
|
||||
* 常见问题数据模型
|
||||
*
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $fid 来自反馈
|
||||
* @property int $id
|
||||
* @property int $num_er 未解决数
|
||||
* @property int $num_ok 已解决数
|
||||
* @property int $num_read 阅读次数
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 展示状态(1使用,0禁用)
|
||||
* @property string $content 问题内容
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $name 问题标题
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWemallHelpProblem
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,20 @@ use think\model\relation\HasMany;
|
||||
|
||||
/**
|
||||
* 工单数据模型
|
||||
*
|
||||
* @property array $images 工单图片
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $id
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 工单状态(0取消,1新工单,2后台回复,3前台回复,4已完结)
|
||||
* @property int $unid 提问用户
|
||||
* @property string $content 工单描述
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $name 工单标题
|
||||
* @property string $order_no 关联订单
|
||||
* @property string $phone 联系电话
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\wemall\model\PluginWemallHelpQuestionX[] $comments
|
||||
* @class PluginWemallHelpQuestion
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -23,6 +23,18 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 工单交互数据模型
|
||||
*
|
||||
* @property array $images 图片内容
|
||||
* @property int $ccid 目标编号
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $id
|
||||
* @property int $reply_by 后台用户
|
||||
* @property int $status 记录状态(0无效,1待审核,2已审核)
|
||||
* @property int $unid 用户编号
|
||||
* @property string $content 文本内容
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \think\admin\model\SystemUser $bind_admin
|
||||
* @class PluginWemallHelpQuestionX
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -25,6 +25,62 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 商城订单主模型
|
||||
*
|
||||
* @property float $allow_balance 最大余额支付
|
||||
* @property float $allow_integral 最大积分抵扣
|
||||
* @property float $amount_balance 余额支付
|
||||
* @property float $amount_cost 商品成本
|
||||
* @property float $amount_discount 折扣后金额
|
||||
* @property float $amount_express 快递费用
|
||||
* @property float $amount_goods 商品金额
|
||||
* @property float $amount_integral 积分抵扣
|
||||
* @property float $amount_payment 金额支付
|
||||
* @property float $amount_profit 销售利润
|
||||
* @property float $amount_real 实际金额
|
||||
* @property float $amount_reduct 随机减免
|
||||
* @property float $amount_total 订单金额
|
||||
* @property float $coupon_amount 优惠券金额
|
||||
* @property float $payment_amount 实际支付
|
||||
* @property float $ratio_integral 积分兑换比例
|
||||
* @property float $rebate_amount 返利金额
|
||||
* @property float $reward_balance 奖励余额
|
||||
* @property float $reward_integral 奖励积分
|
||||
* @property int $cancel_status 取消状态
|
||||
* @property int $deleted_status 删除状态(0未删,1已删)
|
||||
* @property int $delivery_type 物流类型(0无配送,1需配送)
|
||||
* @property int $id
|
||||
* @property int $level_agent 升级代理等级
|
||||
* @property int $level_member 升级会员等级
|
||||
* @property int $number_express 快递计数
|
||||
* @property int $number_goods 商品数量
|
||||
* @property int $payment_status 支付状态(0未支付,1有支付)
|
||||
* @property int $puid1 上1级代理
|
||||
* @property int $puid2 上2级代理
|
||||
* @property int $puid3 上3级代理
|
||||
* @property int $refund_status 售后状态(0未售后,1预订单,2待审核,3待退货,4已退货,5待退款,6已退款,7已完成)
|
||||
* @property int $ssid 所属商家
|
||||
* @property int $status 流程状态(0已取消,1预订单,2待支付,3待审核,4待发货,5已发货,6已收货,7已评论)
|
||||
* @property int $unid 用户编号
|
||||
* @property string $cancel_remark 取消描述
|
||||
* @property string $cancel_time 取消时间
|
||||
* @property string $confirm_remark 签收描述
|
||||
* @property string $confirm_time 签收时间
|
||||
* @property string $coupon_code 优惠券编号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $deleted_remark 删除描述
|
||||
* @property string $deleted_time 删除时间
|
||||
* @property string $order_no 订单单号
|
||||
* @property string $order_ps 订单备注
|
||||
* @property string $payment_time 支付时间
|
||||
* @property string $refund_code 售后单号
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\account\model\PluginAccountUser $from
|
||||
* @property-read \plugin\payment\model\PluginPaymentRecord $payment
|
||||
* @property-read \plugin\payment\model\PluginPaymentRecord[] $payments
|
||||
* @property-read \plugin\wemall\model\PluginWemallOrderItem[] $items
|
||||
* @property-read \plugin\wemall\model\PluginWemallOrderSender $address
|
||||
* @property-read \plugin\wemall\model\PluginWemallOrderSender $sender
|
||||
* @property-read array $payment_allows
|
||||
* @class PluginWemallOrder
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -20,6 +20,21 @@ namespace plugin\wemall\model;
|
||||
|
||||
use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* Class plugin\wemall\model\PluginWemallOrderCart
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $number 商品数量
|
||||
* @property int $ssid 所属商家
|
||||
* @property int $unid 用户编号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $gcode 商品编号
|
||||
* @property string $ghash 规格哈希
|
||||
* @property string $gspec 商品规格
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoods $goods
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoodsItem $specs
|
||||
*/
|
||||
class PluginWemallOrderCart extends AbsUser
|
||||
{
|
||||
/**
|
||||
|
||||
@ -22,6 +22,46 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 商城订单详情模型
|
||||
*
|
||||
* @property float $amount_cost 商品成本单价
|
||||
* @property float $discount_amount 商品优惠金额
|
||||
* @property float $discount_rate 销售价格折扣
|
||||
* @property float $price_market 商品市场单价
|
||||
* @property float $price_selling 商品销售单价
|
||||
* @property float $rebate_amount 参与返利金额
|
||||
* @property float $total_allow_balance 最大余额支付
|
||||
* @property float $total_allow_integral 最大兑换总分
|
||||
* @property float $total_price_cost 商品成本总价
|
||||
* @property float $total_price_market 商品市场总价
|
||||
* @property float $total_price_selling 商品销售总价
|
||||
* @property float $total_reward_balance 商品奖励余额
|
||||
* @property float $total_reward_integral 商品奖励积分
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $delivery_count 快递计费基数
|
||||
* @property int $discount_id 优惠方案编号
|
||||
* @property int $id
|
||||
* @property int $level_agent 推广权益(0无,1有)
|
||||
* @property int $level_code 用户等级序号
|
||||
* @property int $level_upgrade 购买升级等级(-1非入会,0不升级,其他升级)
|
||||
* @property int $rebate_type 参与返利状态(0不返,1返利)
|
||||
* @property int $ssid 所属商家
|
||||
* @property int $status 商品状态(1使用,0禁用)
|
||||
* @property int $stock_sales 包含商品数量
|
||||
* @property int $unid 用户编号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $delivery_code 快递邮费模板
|
||||
* @property string $gcode 商品编号
|
||||
* @property string $gcover 商品封面
|
||||
* @property string $ghash 商品哈希
|
||||
* @property string $gname 商品名称
|
||||
* @property string $gsku 商品SKU
|
||||
* @property string $gspec 商品规格
|
||||
* @property string $gunit 商品单凭
|
||||
* @property string $level_name 用户等级名称
|
||||
* @property string $order_no 订单单号
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoods $goods
|
||||
* @property-read \plugin\wemall\model\PluginWemallOrder $main
|
||||
* @class PluginWemallOrderItem
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -23,6 +23,36 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 商品订单售后模型
|
||||
*
|
||||
* @property array $images 申请图片
|
||||
* @property float $amount 申请金额
|
||||
* @property float $balance_amount 退款余额
|
||||
* @property float $integral_amount 退款积分
|
||||
* @property float $payment_amount 退款支付
|
||||
* @property int $admin_by 后台用户
|
||||
* @property int $id
|
||||
* @property int $number 退货数量
|
||||
* @property int $ssid 所属商家
|
||||
* @property int $status 流程状态(0已取消,1预订单,2待审核,3待退货,4已退货,5待退款,6已退款,7已完成)
|
||||
* @property int $type 申请类型(1退货退款,2仅退款)
|
||||
* @property int $unid 用户编号
|
||||
* @property string $balance_code 退回单号
|
||||
* @property string $code 售后单号
|
||||
* @property string $content 申请说明
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $express_code 快递公司
|
||||
* @property string $express_name 快递名称
|
||||
* @property string $express_no 快递单号
|
||||
* @property string $integral_code 退回单号
|
||||
* @property string $order_no 订单单号
|
||||
* @property string $payment_code 退款单号
|
||||
* @property string $phone 联系电话
|
||||
* @property string $reason 退款原因
|
||||
* @property string $remark 操作描述
|
||||
* @property string $status_at 状态变更时间
|
||||
* @property string $status_ds 状态变更描述
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\wemall\model\PluginWemallOrder $orderinfo
|
||||
* @class PluginWemallOrderRefund
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,36 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 商城订单发货模型
|
||||
*
|
||||
* @property float $delivery_amount 配送计算金额
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $delivery_count 快递计费基数
|
||||
* @property int $id
|
||||
* @property int $ssid 所属商家
|
||||
* @property int $status 发货状态(1待发货,2已发货,3已收货)
|
||||
* @property int $unid 商城用户编号
|
||||
* @property string $address_id 配送地址编号
|
||||
* @property string $company_code 快递公司编码
|
||||
* @property string $company_name 快递公司名称
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $delivery_code 配送模板编号
|
||||
* @property string $delivery_remark 配送计算描述
|
||||
* @property string $express_code 快递运送单号
|
||||
* @property string $express_remark 快递发送备注
|
||||
* @property string $express_time 快递发送时间
|
||||
* @property string $extra 原始数据
|
||||
* @property string $order_no 商城订单单号
|
||||
* @property string $region_addr 配送的详细地址
|
||||
* @property string $region_area 配送地址的区域
|
||||
* @property string $region_city 配送地址的城市
|
||||
* @property string $region_prov 配送地址的省份
|
||||
* @property string $update_time 更新时间
|
||||
* @property string $user_idcode 收货人证件号码
|
||||
* @property string $user_idimg1 收货人证件正面
|
||||
* @property string $user_idimg2 收货人证件反面
|
||||
* @property string $user_name 收货人联系名称
|
||||
* @property string $user_phone 收货人联系手机
|
||||
* @property-read \plugin\wemall\model\PluginWemallOrder $main
|
||||
* @class PluginWemallOrderSender
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,15 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 用户收藏行为数据
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $sort 排序权重
|
||||
* @property int $times 记录次数
|
||||
* @property int $unid 用户编号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $gcode 商品编号
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoods $goods
|
||||
* @class PluginWemallUserActionCollect
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,24 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 用户评论数据模型
|
||||
*
|
||||
* @property array $images 评论图片
|
||||
* @property float $rate 评论分数
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $id
|
||||
* @property int $ssid 所属商家
|
||||
* @property int $status 评论状态(0隐藏,1显示)
|
||||
* @property int $unid 用户编号
|
||||
* @property string $code 评论编号
|
||||
* @property string $content 评论内容
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $gcode 商品编号
|
||||
* @property string $ghash 商品哈希
|
||||
* @property string $order_no 订单单号
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoods $bind_goods
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoods $goods
|
||||
* @property-read \plugin\wemall\model\PluginWemallOrder $orderinfo
|
||||
* @class PluginWemallUserActionComment
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,16 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 用户访问行为数据
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $sort 排序权重
|
||||
* @property int $ssid 所属商家
|
||||
* @property int $times 记录次数
|
||||
* @property int $unid 用户编号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $gcode 商品编号
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoods $goods
|
||||
* @class PluginWemallUserActionHistory
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -20,6 +20,14 @@ namespace plugin\wemall\model;
|
||||
|
||||
/**
|
||||
* 用户搜索行为数据
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $sort 排序权重
|
||||
* @property int $times 搜索次数
|
||||
* @property int $unid 用户编号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $keys 关键词
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWemallUserActionSearch
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -20,6 +20,18 @@ namespace plugin\wemall\model;
|
||||
|
||||
/**
|
||||
* 用户签到模型
|
||||
*
|
||||
* @property float $balance 赠送余额
|
||||
* @property float $integral 赠送积分
|
||||
* @property int $deleted 删除状态(0未删除,1已删除)
|
||||
* @property int $id
|
||||
* @property int $status 生效状态(0未生效,1已生效)
|
||||
* @property int $timed 奖励天数
|
||||
* @property int $times 连续天数
|
||||
* @property int $unid 用户UNID
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $date 签到日期
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWemallUserCheckin
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,25 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 用户卡券数据
|
||||
*
|
||||
* @property int $coid 配置编号
|
||||
* @property int $deleted 删除状态(0未删除,1已删除)
|
||||
* @property int $expire 有效时间
|
||||
* @property int $id
|
||||
* @property int $status 生效状态(0未生效,1待使用,2已使用,3已过期)
|
||||
* @property int $type 卡券类型
|
||||
* @property int $unid 用户UNID
|
||||
* @property int $used 使用状态
|
||||
* @property string $code 卡券编号
|
||||
* @property string $confirm_time 到账时间
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $expire_time 有效日期
|
||||
* @property string $status_desc 状态描述
|
||||
* @property string $status_time 修改时间
|
||||
* @property string $update_time 更新时间
|
||||
* @property string $used_time 使用时间
|
||||
* @property-read \plugin\wemall\model\PluginWemallConfigCoupon $bind_coupon
|
||||
* @property-read \plugin\wemall\model\PluginWemallConfigCoupon $coupon
|
||||
* @class PluginWemallUserCoupon
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -23,6 +23,26 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 手动创建会员用户模型
|
||||
*
|
||||
* @property bool $agent_entry 代理权限
|
||||
* @property float $rebate_total 累计返利
|
||||
* @property float $rebate_usable 可提返利
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $id
|
||||
* @property int $status 记录状态(0无效,1有效)
|
||||
* @property int $unid 关联用户
|
||||
* @property string $agent_phone 上级手机
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $headimg 用户头像
|
||||
* @property string $name 用户姓名
|
||||
* @property string $password 初始密码
|
||||
* @property string $phone 手机号码
|
||||
* @property string $rebate_total_code 记录编号
|
||||
* @property string $rebate_total_desc 记录描述
|
||||
* @property string $rebate_usable_code 记录编号
|
||||
* @property string $rebate_usable_desc 记录描述
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\account\model\PluginAccountUser $agent
|
||||
* @class PluginWemallUserCreate
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -24,6 +24,26 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 代理返佣数据
|
||||
*
|
||||
* @property float $amount 奖励数量
|
||||
* @property float $order_amount 订单金额
|
||||
* @property int $deleted 删除状态(0未删除,1已删除)
|
||||
* @property int $id
|
||||
* @property int $layer 上级层级
|
||||
* @property int $order_unid 订单用户
|
||||
* @property int $status 生效状态(0未生效,1已生效)
|
||||
* @property int $unid 用户UNID
|
||||
* @property string $code 奖励编号
|
||||
* @property string $confirm_time 到账时间
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $date 奖励日期
|
||||
* @property string $hash 维一编号
|
||||
* @property string $name 奖励名称
|
||||
* @property string $order_no 订单单号
|
||||
* @property string $remark 奖励描述
|
||||
* @property string $type 奖励类型
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\account\model\PluginAccountUser $ouser
|
||||
* @class PluginWemallUserRebate
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -20,6 +20,19 @@ namespace plugin\wemall\model;
|
||||
|
||||
/**
|
||||
* 用户余额充值模型
|
||||
*
|
||||
* @property float $amount 操作金额
|
||||
* @property int $create_by 系统用户
|
||||
* @property int $deleted 删除状态(0未删除,1已删除)
|
||||
* @property int $deleted_by 系统用户
|
||||
* @property int $id
|
||||
* @property int $unid 账号编号
|
||||
* @property string $code 操作编号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $deleted_time 删除时间
|
||||
* @property string $name 操作名称
|
||||
* @property string $remark 操作备注
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWemallUserRecharge
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -27,6 +27,31 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 用户关系数据
|
||||
*
|
||||
* @property int $agent_level_code 代理等级
|
||||
* @property int $agent_state 绑定状态
|
||||
* @property int $agent_uuid 绑定用户
|
||||
* @property int $entry_agent 推广权益(0无,1有)
|
||||
* @property int $entry_member 入会礼包(0无,1有)
|
||||
* @property int $id
|
||||
* @property int $layer 所属层级
|
||||
* @property int $level_code 会员等级
|
||||
* @property int $puid1 上1级代理
|
||||
* @property int $puid2 上2级代理
|
||||
* @property int $puid3 上3级代理
|
||||
* @property int $puids 绑定状态
|
||||
* @property int $sort 排序权重
|
||||
* @property int $unid 当前用户
|
||||
* @property string $agent_level_name 代理名称
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $extra 扩展数据
|
||||
* @property string $level_name 会员名称
|
||||
* @property string $path 关系路径
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\account\model\PluginAccountUser $user1
|
||||
* @property-read \plugin\account\model\PluginAccountUser $user2
|
||||
* @property-read \plugin\wemall\model\PluginWemallUserRelation $agent1
|
||||
* @property-read \plugin\wemall\model\PluginWemallUserRelation $agent2
|
||||
* @class PluginWemallUserRelation
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,37 @@ use plugin\wemall\service\UserTransfer;
|
||||
|
||||
/**
|
||||
* 代理提现模型
|
||||
*
|
||||
* @property float $amount 提现转账金额
|
||||
* @property float $charge_amount 提现手续费金额
|
||||
* @property float $charge_rate 提现手续费比例
|
||||
* @property int $audit_status 审核状态
|
||||
* @property int $id
|
||||
* @property int $status 提现状态(0失败,1待审核,2已审核,3打款中,4已打款,5已收款)
|
||||
* @property int $unid 用户UNID
|
||||
* @property string $alipay_code 支付宝账号
|
||||
* @property string $alipay_user 支付宝姓名
|
||||
* @property string $appid 公众号APPID
|
||||
* @property string $audit_remark 审核描述
|
||||
* @property string $audit_time 审核时间
|
||||
* @property string $bank_bran 开户分行名称
|
||||
* @property string $bank_code 开户银行卡号
|
||||
* @property string $bank_name 开户银行名称
|
||||
* @property string $bank_user 开户账号姓名
|
||||
* @property string $bank_wseq 微信银行编号
|
||||
* @property string $change_desc 处理描述
|
||||
* @property string $change_time 处理时间
|
||||
* @property string $code 提现单号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $date 提现日期
|
||||
* @property string $openid 公众号OPENID
|
||||
* @property string $qrcode 收款码图片地址
|
||||
* @property string $remark 提现描述
|
||||
* @property string $trade_no 交易单号
|
||||
* @property string $trade_time 打款时间
|
||||
* @property string $type 提现方式
|
||||
* @property string $update_time 更新时间
|
||||
* @property string $username 公众号真实姓名
|
||||
* @class PluginWemallUserTransfer
|
||||
* @package plugin\wemall\model
|
||||
*/
|
||||
|
||||
@ -23,8 +23,32 @@ use think\model\relation\HasMany;
|
||||
|
||||
/**
|
||||
* 物码规则文件
|
||||
*
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $hex_length 加密长度
|
||||
* @property int $id
|
||||
* @property int $max_length 大码长度
|
||||
* @property int $max_mid 大码与中码比值
|
||||
* @property int $max_number 大码数量
|
||||
* @property int $mid_length 中码长度
|
||||
* @property int $mid_min 中码与小码比值
|
||||
* @property int $mid_number 中码数量
|
||||
* @property int $min_length 小码长度
|
||||
* @property int $number 物码总数
|
||||
* @property int $sns_after 序号结束值
|
||||
* @property int $sns_length 序号长度
|
||||
* @property int $sns_start 序号起始值
|
||||
* @property int $status 记录状态(0无效,1有效)
|
||||
* @property int $type 批次类型(1前关联,2后关联)
|
||||
* @property int $ver_length 验证长度
|
||||
* @property string $batch 批次编号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $remark 物码描述
|
||||
* @property string $template 导出模板
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\wuma\model\PluginWumaCodeRuleRange[] $rules
|
||||
* @class PluginWumaCodeRule
|
||||
* @package plugin\wuma\model
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
class PluginWumaCodeRule extends AbstractPrivate
|
||||
{
|
||||
|
||||
@ -23,8 +23,18 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 物码范围模型
|
||||
*
|
||||
* @property int $code_length 数码长度
|
||||
* @property int $id
|
||||
* @property int $range_after 结束数码
|
||||
* @property int $range_number 数码数量
|
||||
* @property int $range_start 起始数码
|
||||
* @property int $type 物码类型
|
||||
* @property string $batch 物码批次号
|
||||
* @property string $code_type 数码类型(min小码,mid中码,max大码)
|
||||
* @property-read \plugin\wuma\model\PluginWumaCodeRule $main
|
||||
* @class PluginWumaCodeRuleRange
|
||||
* @package plugin\wuma\model
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
class PluginWumaCodeRuleRange extends Model
|
||||
{
|
||||
|
||||
@ -21,6 +21,28 @@ namespace plugin\wuma\model;
|
||||
use plugin\wemall\model\PluginWemallGoodsItem;
|
||||
use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* Class plugin\wuma\model\PluginWumaSalesOrder
|
||||
*
|
||||
* @property int $auid 经销商编号
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $id
|
||||
* @property int $mode 操作方式(1扫码,2虚拟)
|
||||
* @property int $num_count 累计已经出库
|
||||
* @property int $num_need 累计出库数量
|
||||
* @property int $status 记录状态(0无效,1有效,2完成)
|
||||
* @property int $vir_count 虚拟库使用
|
||||
* @property int $vir_need 虚拟库统计
|
||||
* @property int $xuid 来源经销商
|
||||
* @property string $code 操作单单号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $ghash 商品哈唏
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoodsItem $bind_goods
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoodsItem $goods
|
||||
* @property-read \plugin\wuma\model\PluginWumaSalesUser $agent
|
||||
* @property-read \plugin\wuma\model\PluginWumaSalesUser $fromer
|
||||
*/
|
||||
class PluginWumaSalesOrder extends AbstractPrivate
|
||||
{
|
||||
/**
|
||||
|
||||
@ -18,6 +18,19 @@ declare (strict_types=1);
|
||||
|
||||
namespace plugin\wuma\model;
|
||||
|
||||
/**
|
||||
* Class plugin\wuma\model\PluginWumaSalesOrderData
|
||||
*
|
||||
* @property int $auid 经销商编号
|
||||
* @property int $id
|
||||
* @property int $mode 操作方式(1扫码,2虚拟)
|
||||
* @property int $number 物码总数
|
||||
* @property int $status 记录状态(0无效,1有效)
|
||||
* @property int $xuid 来源经销商
|
||||
* @property string $code 操作单号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $update_time 更新时间
|
||||
*/
|
||||
class PluginWumaSalesOrderData extends AbstractPrivate
|
||||
{
|
||||
}
|
||||
@ -18,6 +18,21 @@ declare (strict_types=1);
|
||||
|
||||
namespace plugin\wuma\model;
|
||||
|
||||
/**
|
||||
* Class plugin\wuma\model\PluginWumaSalesOrderDataMins
|
||||
*
|
||||
* @property int $auid 代理编号
|
||||
* @property int $code 物码数据
|
||||
* @property int $ddid 数据编号
|
||||
* @property int $deleted 删除状态(0有效,1已删)
|
||||
* @property int $id
|
||||
* @property int $mode 操作类型(1扫码,2虚拟)
|
||||
* @property int $status 数据状态(0无效,1有效)
|
||||
* @property int $stock 库存有效
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $ghash 商品哈唏
|
||||
* @property string $status_time 状态时间
|
||||
*/
|
||||
class PluginWumaSalesOrderDataMins extends AbstractPrivate
|
||||
{
|
||||
}
|
||||
@ -18,6 +18,16 @@ declare (strict_types=1);
|
||||
|
||||
namespace plugin\wuma\model;
|
||||
|
||||
/**
|
||||
* Class plugin\wuma\model\PluginWumaSalesOrderDataNums
|
||||
*
|
||||
* @property int $count 物码数量
|
||||
* @property int $ddid 数据编号
|
||||
* @property int $id
|
||||
* @property int $uuid 所属品牌
|
||||
* @property string $code 物码数据
|
||||
* @property string $type 物码类型
|
||||
*/
|
||||
class PluginWumaSalesOrderDataNums extends AbstractPrivate
|
||||
{
|
||||
}
|
||||
@ -21,6 +21,38 @@ namespace plugin\wuma\model;
|
||||
use think\model\relation\HasMany;
|
||||
use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* Class plugin\wuma\model\PluginWumaSalesUser
|
||||
*
|
||||
* @property int $auid 上级代理
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $id
|
||||
* @property int $level 代理等级
|
||||
* @property int $master 总部账号
|
||||
* @property int $status 用户状态(1正常,0已黑)
|
||||
* @property int $super_auid 邀请上级用户
|
||||
* @property string $business 营业执照
|
||||
* @property string $code 授权编号
|
||||
* @property string $create_time 注册时间
|
||||
* @property string $date_after 结束时间
|
||||
* @property string $date_start 开始时间
|
||||
* @property string $headimg 用户头像
|
||||
* @property string $mobile 联系电话
|
||||
* @property string $password 登录密码
|
||||
* @property string $phone 用户手机
|
||||
* @property string $region_address 详细地址
|
||||
* @property string $region_area 所属区域
|
||||
* @property string $region_city 所属城市
|
||||
* @property string $region_prov 所属省份
|
||||
* @property string $remark 用户备注描述
|
||||
* @property string $super_phone 邀请上级手机
|
||||
* @property string $update_time 更新时间
|
||||
* @property string $userid 身份证号
|
||||
* @property string $username 用户姓名
|
||||
* @property-read \plugin\wuma\model\PluginWumaSalesUser $sup_agent
|
||||
* @property-read \plugin\wuma\model\PluginWumaSalesUserLevel $levelinfo
|
||||
* @property-read \plugin\wuma\model\PluginWumaSalesUser[] $sub_agent
|
||||
*/
|
||||
class PluginWumaSalesUser extends AbstractPrivate
|
||||
{
|
||||
|
||||
|
||||
@ -18,6 +18,17 @@ declare (strict_types=1);
|
||||
|
||||
namespace plugin\wuma\model;
|
||||
|
||||
/**
|
||||
* Class plugin\wuma\model\PluginWumaSalesUserLevel
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $number 代理级别序号
|
||||
* @property int $status 代理等级状态(1使用,0禁用)
|
||||
* @property int $utime 等级更新时间
|
||||
* @property string $create_time 等级创建时间
|
||||
* @property string $name 代理级别名称
|
||||
* @property string $remark 代理级别描述
|
||||
*/
|
||||
class PluginWumaSalesUserLevel extends AbstractPrivate
|
||||
{
|
||||
/**
|
||||
|
||||
@ -22,6 +22,20 @@ use plugin\wemall\model\PluginWemallGoodsItem;
|
||||
use think\Model;
|
||||
use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* Class plugin\wuma\model\PluginWumaSalesUserStock
|
||||
*
|
||||
* @property int $auid 经销编号
|
||||
* @property int $id
|
||||
* @property int $num_count 累计出货
|
||||
* @property int $num_total 累计库存
|
||||
* @property int $vir_count 虚拟出货
|
||||
* @property int $vir_total 虚拟库存
|
||||
* @property string $ghash 商品哈唏
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoodsItem $bind_goods
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoodsItem $goods
|
||||
* @property-read \plugin\wuma\model\PluginWumaSalesUser $agent
|
||||
*/
|
||||
class PluginWumaSalesUserStock extends AbstractPrivate
|
||||
{
|
||||
|
||||
|
||||
@ -23,6 +23,19 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 赋码批次模型管理
|
||||
*
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $id
|
||||
* @property int $status 记录状态(0无效,1有效)
|
||||
* @property int $type 赋码类型(0区间,1关联)
|
||||
* @property string $batch 赋码批次号
|
||||
* @property string $cbatch 物码批次号
|
||||
* @property string $coder_items2 JSON赋码
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $outer_items JSON出库
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\wuma\model\PluginWumaCodeRule $coder
|
||||
* @property-read \plugin\wuma\model\PluginWumaSourceAssignItem[] $range
|
||||
* @class PluginWumaSourceAssign
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,20 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 赋码批次数据模型
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $lock 是否已锁定
|
||||
* @property int $range_after 结束物码区间
|
||||
* @property int $range_start 开始物码区间
|
||||
* @property int $real 是否真锁定
|
||||
* @property string $batch 赋码批次号
|
||||
* @property string $cbatch 物码批次号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $pbatch 生产批次号
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\wuma\model\PluginWumaSourceAssign $assign
|
||||
* @property-read \plugin\wuma\model\PluginWumaSourceProduce $bind_produce
|
||||
* @property-read \plugin\wuma\model\PluginWumaSourceProduce $produce
|
||||
* @class PluginWumaSourceBatchAssignItem
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,21 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 区块链溯源模型
|
||||
*
|
||||
* @property int $deleted 删除状态(0未删1已删)
|
||||
* @property int $id
|
||||
* @property int $scid 确权证书
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 记录状态(0无效1有效)
|
||||
* @property string $code 流程编号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $data 流程环节
|
||||
* @property string $hash 流程HASH
|
||||
* @property string $hash_time 上链时间
|
||||
* @property string $name 流程名称
|
||||
* @property string $remark 流程备注
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\wuma\model\PluginWumaSourceCertificate $cert
|
||||
* @class PluginWumaSourceBlockchain
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
@ -20,6 +20,18 @@ namespace plugin\wuma\model;
|
||||
|
||||
/**
|
||||
* 区块链确权证书模型
|
||||
*
|
||||
* @property int $deleted 删除状态(0未删1已删)
|
||||
* @property int $id
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 记录状态(0无效1有效)
|
||||
* @property int $times 访问次数
|
||||
* @property mixed $content 定制规则
|
||||
* @property string $code 模板编号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $image 证书底图
|
||||
* @property string $name 模板名称
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWumaSourceCertificate
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
@ -23,6 +23,24 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 生产批次数据模型
|
||||
*
|
||||
* @property int $deleted 删除状态(0未删1已删)
|
||||
* @property int $id
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 记录状态(0无效1有效)
|
||||
* @property string $addr_area 所在区域
|
||||
* @property string $addr_city 所在城市
|
||||
* @property string $addr_prov 所在省份
|
||||
* @property string $batch 生产批次
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $ghash 产品编号
|
||||
* @property string $remark 批次备注
|
||||
* @property string $tcode 关联溯源模板
|
||||
* @property string $update_time 更新时间
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoodsItem $bind_goods
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoodsItem $goods
|
||||
* @property-read \plugin\wuma\model\PluginWumaSourceTemplate $bind_template
|
||||
* @property-read \plugin\wuma\model\PluginWumaSourceTemplate $template
|
||||
* @class PluginWumaSourceProduce
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
@ -20,6 +20,23 @@ namespace plugin\wuma\model;
|
||||
|
||||
/**
|
||||
* 防伪查询记录模型
|
||||
*
|
||||
* @property int $auid 代理用户
|
||||
* @property int $code 小码数码
|
||||
* @property int $id
|
||||
* @property int $notify 窜货状态
|
||||
* @property int $times 查询次数
|
||||
* @property string $addr 详细地址
|
||||
* @property string $area 所在区域
|
||||
* @property string $city 所在城市
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $encode 物码编号
|
||||
* @property string $geoip 访问IP
|
||||
* @property string $ghash 商品哈希
|
||||
* @property string $gtype 定位类型
|
||||
* @property string $latlng 经纬度
|
||||
* @property string $prov 所在省份
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWumaSourceQuery
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
@ -20,6 +20,27 @@ namespace plugin\wuma\model;
|
||||
|
||||
/**
|
||||
* 窜货查询记录模型
|
||||
*
|
||||
* @property int $auid 代理用户
|
||||
* @property int $code 小码数码
|
||||
* @property int $id
|
||||
* @property int $times 查询次数
|
||||
* @property string $addr 详细地址
|
||||
* @property string $agent_area 代理区域
|
||||
* @property string $agent_city 代理城市
|
||||
* @property string $agent_prov 代理省份
|
||||
* @property string $area 所在区域
|
||||
* @property string $city 所在城市
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $encode 物码编号
|
||||
* @property string $geoip 访问IP
|
||||
* @property string $gtype 定位类型
|
||||
* @property string $latlng 经纬度
|
||||
* @property string $pcode 商品编号
|
||||
* @property string $prov 所在省份
|
||||
* @property string $pspec 商品规格
|
||||
* @property string $type 记录类型
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWumaSourceQueryNotify
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
@ -20,6 +20,15 @@ namespace plugin\wuma\model;
|
||||
|
||||
/**
|
||||
* 物码查询验证记录
|
||||
*
|
||||
* @property int $auid 代理用户
|
||||
* @property int $code 小码数码
|
||||
* @property int $id
|
||||
* @property int $times 查询次数
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $encode 物码编号
|
||||
* @property string $ghash 商品编号
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWumaSourceQueryVerify
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
@ -20,6 +20,18 @@ namespace plugin\wuma\model;
|
||||
|
||||
/**
|
||||
* 溯源模板模块
|
||||
*
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $id
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 记录状态(0无效,1有效)
|
||||
* @property int $times 访问次数
|
||||
* @property mixed $content 模板内容
|
||||
* @property mixed $styles 主题样式
|
||||
* @property string $code 模板编号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $name 模板名称
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWumaSourceTemplate
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
@ -20,6 +20,21 @@ namespace plugin\wuma\model;
|
||||
|
||||
/**
|
||||
* 总部仓库模型管理
|
||||
*
|
||||
* @property int $deleted 删除状态(0未删1已删)
|
||||
* @property int $id
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 记录状态(0无效1有效)
|
||||
* @property string $addr_area 所属区域
|
||||
* @property string $addr_city 所属城市
|
||||
* @property string $addr_prov 所属省份
|
||||
* @property string $addr_text 详细地址
|
||||
* @property string $code 仓库编号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $name 仓库名称
|
||||
* @property string $person 负责人
|
||||
* @property string $remark 物码描述
|
||||
* @property string $update_time 更新时间
|
||||
* @class PluginWumaWarehouse
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
@ -23,6 +23,27 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 仓库订单模型
|
||||
*
|
||||
* @property int $auid 出库代理
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $id
|
||||
* @property int $mode 操作方式(1扫码操作,2虚拟操作)
|
||||
* @property int $num_need 扫码总数
|
||||
* @property int $num_used 扫码完成
|
||||
* @property int $status 记录状态(0无效,1有效,2完成)
|
||||
* @property int $type 操作类型(1订单入库,2直接入库,3调货入库,4订单出库,5直接出库,6调货出库,7关联出库,8直接退货)
|
||||
* @property int $vir_need 虚拟总数
|
||||
* @property int $vir_used 虚拟完成
|
||||
* @property string $code 操作单号
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $deleted_time 删除时间
|
||||
* @property string $ghash 绑定产品
|
||||
* @property string $update_time 更新时间
|
||||
* @property string $wcode 仓库编号
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoodsItem $bind_goods
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoodsItem $goods
|
||||
* @property-read \plugin\wuma\model\PluginWumaWarehouse $bind_warehouse
|
||||
* @property-read \plugin\wuma\model\PluginWumaWarehouse $warehouse
|
||||
* @class PluginWumaWarehouseOrder
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,15 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 仓库订单数据模型
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $mode 操作方式(1扫码操作,2虚拟操作)
|
||||
* @property int $number 标签总数
|
||||
* @property int $status 记录状态(0无效,1有效)
|
||||
* @property int $type 操作类型(1订单入库,2直接入库,3调货入库,4订单出库,5直接出库,6调货出库,7关联出库,8直接退货)
|
||||
* @property string $code 操作单号
|
||||
* @property string $create_time 创建时间
|
||||
* @property-read \plugin\wuma\model\PluginWumaWarehouseOrder $main
|
||||
* @class PluginWumaWarehouseOrderData
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
@ -23,6 +23,16 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 仓库订单小码模型
|
||||
*
|
||||
* @property int $code 物码数据
|
||||
* @property int $ddid 数据编号
|
||||
* @property int $id
|
||||
* @property int $mode 操作方式(1扫码操作,2虚拟操作)
|
||||
* @property int $status 退货:记录状态(0无效,1有效)
|
||||
* @property int $stock 调货:库存有效(0已出,1暂存)
|
||||
* @property int $type 操作类型(1订单入库,2直接入库,3调货入库,4订单出库,5直接出库,6调货出库,7关联出库,8直接退货)
|
||||
* @property string $status_time 状态时间
|
||||
* @property-read \plugin\wuma\model\PluginWumaWarehouseOrderData $main
|
||||
* @class PluginWumaWarehouseOrderDataMins
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,12 @@ use think\admin\Model;
|
||||
|
||||
/**
|
||||
* 仓库订单箱码模型
|
||||
*
|
||||
* @property int $count 物码数量
|
||||
* @property int $ddid 数据编号
|
||||
* @property int $id
|
||||
* @property string $code 物码数据
|
||||
* @property string $type 物码类型
|
||||
* @class PluginWumaWarehouseOrderDataNums
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
@ -22,6 +22,15 @@ use think\model\relation\HasMany;
|
||||
|
||||
/**
|
||||
* 后关联订单模型
|
||||
*
|
||||
* @property int $create_by 上传用户
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $id
|
||||
* @property int $max 大码数值
|
||||
* @property int $mid 中码数值
|
||||
* @property string $create_time 创建时间
|
||||
* @property-read \plugin\wuma\model\PluginWumaWarehouseRelationData[] $mids
|
||||
* @property-read \plugin\wuma\model\PluginWumaWarehouseRelationData[] $mins
|
||||
* @class PluginWumaWarehouseRelation
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
@ -20,6 +20,19 @@ namespace plugin\wuma\model;
|
||||
|
||||
/**
|
||||
* 后关联数据模型
|
||||
*
|
||||
* @property int $create_by 上传用户
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $id
|
||||
* @property int $lock 锁定状态
|
||||
* @property int $max 大码数值
|
||||
* @property int $mid 中码数值
|
||||
* @property int $min 小码数值
|
||||
* @property int $rid 批次数据
|
||||
* @property int $status 记录状态(0无效,1有效)
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $encode 防伪编码
|
||||
* @property string $number 防窜编码
|
||||
* @class PluginWumaWarehouseRelationData
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
@ -20,6 +20,18 @@ namespace plugin\wuma\model;
|
||||
|
||||
/**
|
||||
* 标签替换模型
|
||||
*
|
||||
* @property int $create_by 上传用户
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $id
|
||||
* @property int $lock 锁定状态
|
||||
* @property int $smin 原值小码
|
||||
* @property int $status 记录状态(0无效,1有效)
|
||||
* @property int $tmin 目标小码
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $source 原物码值
|
||||
* @property string $target 目标物码
|
||||
* @property string $type 物码类型
|
||||
* @class PluginWumaWarehouseReplace
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
@ -24,6 +24,18 @@ use think\model\relation\HasOne;
|
||||
|
||||
/**
|
||||
* 仓库库存模型
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $num_count 扫码完成
|
||||
* @property int $num_total 扫码总数
|
||||
* @property int $vir_count 虚拟完成
|
||||
* @property int $vir_total 虚拟总数
|
||||
* @property string $ghash 商品规格
|
||||
* @property string $wcode 仓库编号
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoodsItem $bind_goods
|
||||
* @property-read \plugin\wemall\model\PluginWemallGoodsItem $goods
|
||||
* @property-read \plugin\wuma\model\PluginWumaWarehouse $bind_warehouse
|
||||
* @property-read \plugin\wuma\model\PluginWumaWarehouse $warehouse
|
||||
* @class PluginWumaWarehouseStock
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
@ -20,6 +20,22 @@ namespace plugin\wuma\model;
|
||||
|
||||
/**
|
||||
* 仓库用户模型
|
||||
*
|
||||
* @property int $deleted 删除状态(0未删,1已删)
|
||||
* @property int $id
|
||||
* @property int $login_num 登录测试
|
||||
* @property int $sort 排序权重
|
||||
* @property int $status 记录状态(0无效,1有效)
|
||||
* @property string $create_time 创建时间
|
||||
* @property string $login_ip 登录地址
|
||||
* @property string $login_time 登录时间
|
||||
* @property string $login_vars 登录参数
|
||||
* @property string $nickname 用户昵称
|
||||
* @property string $password 登录密码
|
||||
* @property string $remark 物码描述
|
||||
* @property string $token 接口令牌
|
||||
* @property string $update_time 更新时间
|
||||
* @property string $username 用户账号
|
||||
* @class PluginWumaWarehouseUser
|
||||
* @package plugin\wuma\model
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user