105 lines
2.1 KiB
PHP
105 lines
2.1 KiB
PHP
|
<?php
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
// | likeadmin快速开发前后端分离管理后台(PHP版)
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
// | 欢迎阅读学习系统程序代码,建议反馈是我们前进的动力
|
|||
|
// | 开源版本可自由商用,可去除界面版权logo
|
|||
|
// | gitee下载:https://gitee.com/likeshop_gitee/likeadmin
|
|||
|
// | github下载:https://github.com/likeshop-github/likeadmin
|
|||
|
// | 访问官网:https://www.likeadmin.cn
|
|||
|
// | likeadmin团队 版权所有 拥有最终解释权
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
// | author: likeadminTeam
|
|||
|
// +----------------------------------------------------------------------
|
|||
|
|
|||
|
namespace app\common\model\company;
|
|||
|
|
|||
|
use think\model\concern\SoftDelete;
|
|||
|
use app\common\model\BaseModel;
|
|||
|
|
|||
|
/**
|
|||
|
* 公司流水模型
|
|||
|
* Class CompanyProperty
|
|||
|
* @package app\common\model
|
|||
|
*/
|
|||
|
class CompanyAccountLog extends BaseModel
|
|||
|
{
|
|||
|
use SoftDelete;
|
|||
|
|
|||
|
protected $deleteTime = 'delete_time';
|
|||
|
/**
|
|||
|
* 变动类型命名规则:对象_动作_简洁描述
|
|||
|
* 动作 DEC-减少 INC-增加
|
|||
|
* 对象 TASK 任务金额
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* 变动对象
|
|||
|
*/
|
|||
|
/**
|
|||
|
* 金额
|
|||
|
*/
|
|||
|
const TASK = 1;
|
|||
|
/**
|
|||
|
* 公司股金
|
|||
|
*/
|
|||
|
const SHAREHOLDER = 2;
|
|||
|
/**
|
|||
|
* 公司余额
|
|||
|
*/
|
|||
|
const COMPANY_MONEY = 3;
|
|||
|
|
|||
|
/**
|
|||
|
* 公司押金
|
|||
|
*/
|
|||
|
const DEPOSIT = 4;
|
|||
|
|
|||
|
/**
|
|||
|
* 动作
|
|||
|
* INC 增加
|
|||
|
* DEC 减少
|
|||
|
*/
|
|||
|
const INC = 1;
|
|||
|
const DEC = 2;
|
|||
|
|
|||
|
|
|||
|
/**
|
|||
|
* 用户余额减少类型
|
|||
|
*/
|
|||
|
/**
|
|||
|
* 任务
|
|||
|
*/
|
|||
|
const TASK_DEC_DEPOSIT = 100;
|
|||
|
/**
|
|||
|
* 股金
|
|||
|
*/
|
|||
|
const SHAREHOLDER_DEC_DEPOSIT = 101;
|
|||
|
|
|||
|
/**
|
|||
|
* 提现
|
|||
|
*/
|
|||
|
const WITHDRAW_DEC_DEPOSIT = 102;
|
|||
|
|
|||
|
/**
|
|||
|
* 公司金额变动类型
|
|||
|
*/
|
|||
|
|
|||
|
/**
|
|||
|
* 任务收益
|
|||
|
*/
|
|||
|
const TASK_INC_INCOME = 200;
|
|||
|
/**
|
|||
|
* 公司余额
|
|||
|
*/
|
|||
|
const TASK_INC_COMPANY_MONEY = 201;
|
|||
|
/**
|
|||
|
* 股金
|
|||
|
*/
|
|||
|
const TASK_INC_SHAREHOLDER_MONEY = 202;
|
|||
|
|
|||
|
/**
|
|||
|
* 押金
|
|||
|
*/
|
|||
|
const COMPANY_DEPOSIT = 300;
|
|||
|
|
|||
|
}
|