更新细节

This commit is contained in:
yaooo 2023-12-18 15:35:34 +08:00
parent 800edda896
commit f8f221d14c
10 changed files with 942 additions and 0 deletions

View File

@ -0,0 +1,108 @@
<?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\adminapi\controller\cost;
use app\adminapi\controller\BaseAdminController;
use app\adminapi\lists\cost\CostBudgetAdjustLists;
use app\adminapi\logic\cost\CostBudgetAdjustLogic;
use app\adminapi\validate\cost\CostBudgetAdjustValidate;
/**
* CostBudgetAdjust控制器
* Class CostBudgetAdjustController
* @package app\adminapi\controller\cost
*/
class CostBudgetAdjustController extends BaseAdminController
{
/**
* @notes 获取列表
* @return \think\response\Json
* @author likeadmin
* @date 2023/12/18 15:17
*/
public function lists()
{
return $this->dataLists(new CostBudgetAdjustLists());
}
/**
* @notes 添加
* @return \think\response\Json
* @author likeadmin
* @date 2023/12/18 15:17
*/
public function add()
{
$params = (new CostBudgetAdjustValidate())->post()->goCheck('add');
$result = CostBudgetAdjustLogic::add($params);
if (true === $result) {
return $this->success('添加成功', [], 1, 1);
}
return $this->fail(CostBudgetAdjustLogic::getError());
}
/**
* @notes 编辑
* @return \think\response\Json
* @author likeadmin
* @date 2023/12/18 15:17
*/
public function edit()
{
$params = (new CostBudgetAdjustValidate())->post()->goCheck('edit');
$result = CostBudgetAdjustLogic::edit($params);
if (true === $result) {
return $this->success('编辑成功', [], 1, 1);
}
return $this->fail(CostBudgetAdjustLogic::getError());
}
/**
* @notes 删除
* @return \think\response\Json
* @author likeadmin
* @date 2023/12/18 15:17
*/
public function delete()
{
$params = (new CostBudgetAdjustValidate())->post()->goCheck('delete');
CostBudgetAdjustLogic::delete($params);
return $this->success('删除成功', [], 1, 1);
}
/**
* @notes 获取详情
* @return \think\response\Json
* @author likeadmin
* @date 2023/12/18 15:17
*/
public function detail()
{
$params = (new CostBudgetAdjustValidate())->goCheck('detail');
$result = CostBudgetAdjustLogic::detail($params);
return $this->data($result);
}
}

View File

@ -0,0 +1,108 @@
<?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\adminapi\controller\cost;
use app\adminapi\controller\BaseAdminController;
use app\adminapi\lists\cost\CostBudgetAdjustDetailLists;
use app\adminapi\logic\cost\CostBudgetAdjustDetailLogic;
use app\adminapi\validate\cost\CostBudgetAdjustDetailValidate;
/**
* CostBudgetAdjustDetail控制器
* Class CostBudgetAdjustDetailController
* @package app\adminapi\controller\cost
*/
class CostBudgetAdjustDetailController extends BaseAdminController
{
/**
* @notes 获取列表
* @return \think\response\Json
* @author likeadmin
* @date 2023/12/18 15:06
*/
public function lists()
{
return $this->dataLists(new CostBudgetAdjustDetailLists());
}
/**
* @notes 添加
* @return \think\response\Json
* @author likeadmin
* @date 2023/12/18 15:06
*/
public function add()
{
$params = (new CostBudgetAdjustDetailValidate())->post()->goCheck('add');
$result = CostBudgetAdjustDetailLogic::add($params);
if (true === $result) {
return $this->success('添加成功', [], 1, 1);
}
return $this->fail(CostBudgetAdjustDetailLogic::getError());
}
/**
* @notes 编辑
* @return \think\response\Json
* @author likeadmin
* @date 2023/12/18 15:06
*/
public function edit()
{
$params = (new CostBudgetAdjustDetailValidate())->post()->goCheck('edit');
$result = CostBudgetAdjustDetailLogic::edit($params);
if (true === $result) {
return $this->success('编辑成功', [], 1, 1);
}
return $this->fail(CostBudgetAdjustDetailLogic::getError());
}
/**
* @notes 删除
* @return \think\response\Json
* @author likeadmin
* @date 2023/12/18 15:06
*/
public function delete()
{
$params = (new CostBudgetAdjustDetailValidate())->post()->goCheck('delete');
CostBudgetAdjustDetailLogic::delete($params);
return $this->success('删除成功', [], 1, 1);
}
/**
* @notes 获取详情
* @return \think\response\Json
* @author likeadmin
* @date 2023/12/18 15:06
*/
public function detail()
{
$params = (new CostBudgetAdjustDetailValidate())->goCheck('detail');
$result = CostBudgetAdjustDetailLogic::detail($params);
return $this->data($result);
}
}

View File

@ -0,0 +1,77 @@
<?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\adminapi\lists\cost;
use app\adminapi\lists\BaseAdminDataLists;
use app\common\model\cost\CostBudgetAdjustDetail;
use app\common\lists\ListsSearchInterface;
/**
* CostBudgetAdjustDetail列表
* Class CostBudgetAdjustDetailLists
* @package app\adminapi\listscost
*/
class CostBudgetAdjustDetailLists extends BaseAdminDataLists implements ListsSearchInterface
{
/**
* @notes 设置搜索条件
* @return \string[][]
* @author likeadmin
* @date 2023/12/18 15:06
*/
public function setSearch(): array
{
return [
'=' => ['cost_subject_id', 'cost_budget_adjust_id'],
];
}
/**
* @notes 获取列表
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author likeadmin
* @date 2023/12/18 15:06
*/
public function lists(): array
{
return CostBudgetAdjustDetail::where($this->searchWhere)
->field(['id', 'cost_subject_id', 'cost_budget_adjust_id', 'month1', 'month2', 'month3', 'month4', 'month5', 'month6', 'month7', 'month8', 'month9', 'month10', 'month11', 'month12'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()
->toArray();
}
/**
* @notes 获取数量
* @return int
* @author likeadmin
* @date 2023/12/18 15:06
*/
public function count(): int
{
return CostBudgetAdjustDetail::where($this->searchWhere)->count();
}
}

View File

@ -0,0 +1,83 @@
<?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\adminapi\lists\cost;
use app\adminapi\lists\BaseAdminDataLists;
use app\common\model\cost\CostBudgetAdjust;
use app\common\lists\ListsSearchInterface;
/**
* CostBudgetAdjust列表
* Class CostBudgetAdjustLists
* @package app\adminapi\listscost
*/
class CostBudgetAdjustLists extends BaseAdminDataLists implements ListsSearchInterface
{
/**
* @notes 设置搜索条件
* @return \string[][]
* @author likeadmin
* @date 2023/12/18 15:17
*/
public function setSearch(): array
{
return [
'=' => ['approve_id', 'years', 'document_preparation_time'],
];
}
/**
* @notes 获取列表
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
* @author likeadmin
* @date 2023/12/18 15:17
*/
public function lists(): array
{
return CostBudgetAdjust::where($this->searchWhere)
->field(['id', 'approve_id', 'years', 'document_preparation_time', 'remark', 'annex'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])
->select()->each(function($item, $key){
//关联数据后续添加
$item['approve_no'] = '付款单号';
$item['approve_step'] = '流程步骤';
$item['approve_settle_status'] = 1;
return $item;
})
->toArray();
}
/**
* @notes 获取数量
* @return int
* @author likeadmin
* @date 2023/12/18 15:17
*/
public function count(): int
{
return CostBudgetAdjust::where($this->searchWhere)->count();
}
}

View File

@ -0,0 +1,132 @@
<?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\adminapi\logic\cost;
use app\common\model\cost\CostBudgetAdjustDetail;
use app\common\logic\BaseLogic;
use think\facade\Db;
/**
* CostBudgetAdjustDetail逻辑
* Class CostBudgetAdjustDetailLogic
* @package app\adminapi\logic\cost
*/
class CostBudgetAdjustDetailLogic extends BaseLogic
{
/**
* @notes 添加
* @param array $params
* @return bool
* @author likeadmin
* @date 2023/12/18 15:06
*/
public static function add(array $params): bool
{
Db::startTrans();
try {
CostBudgetAdjustDetail::create([
'cost_subject_id' => $params['cost_subject_id'],
'cost_budget_adjust_id' => $params['cost_budget_adjust_id'],
'month1' => $params['month1'],
'month2' => $params['month2'],
'month3' => $params['month3'],
'month4' => $params['month4'],
'month5' => $params['month5'],
'month6' => $params['month6'],
'month7' => $params['month7'],
'month8' => $params['month8'],
'month9' => $params['month9'],
'month10' => $params['month10'],
'month11' => $params['month11'],
'month12' => $params['month12'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 编辑
* @param array $params
* @return bool
* @author likeadmin
* @date 2023/12/18 15:06
*/
public static function edit(array $params): bool
{
Db::startTrans();
try {
CostBudgetAdjustDetail::where('id', $params['id'])->update([
'cost_subject_id' => $params['cost_subject_id'],
'cost_budget_adjust_id' => $params['cost_budget_adjust_id'],
'month1' => $params['month1'],
'month2' => $params['month2'],
'month3' => $params['month3'],
'month4' => $params['month4'],
'month5' => $params['month5'],
'month6' => $params['month6'],
'month7' => $params['month7'],
'month8' => $params['month8'],
'month9' => $params['month9'],
'month10' => $params['month10'],
'month11' => $params['month11'],
'month12' => $params['month12'],
]);
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 删除
* @param array $params
* @return bool
* @author likeadmin
* @date 2023/12/18 15:06
*/
public static function delete(array $params): bool
{
return CostBudgetAdjustDetail::destroy($params['id']);
}
/**
* @notes 获取详情
* @param $params
* @return array
* @author likeadmin
* @date 2023/12/18 15:06
*/
public static function detail($params): array
{
return CostBudgetAdjustDetail::findOrEmpty($params['id'])->toArray();
}
}

View File

@ -0,0 +1,157 @@
<?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\adminapi\logic\cost;
use app\common\model\cost\CostBudgetAdjust;
use app\common\model\cost\CostBudgetAdjustDetail;
use app\common\logic\BaseLogic;
use think\facade\Db;
/**
* CostBudgetAdjust逻辑
* Class CostBudgetAdjustLogic
* @package app\adminapi\logic\cost
*/
class CostBudgetAdjustLogic extends BaseLogic
{
/**
* @notes 添加
* @param array $params
* @return bool
* @author likeadmin
* @date 2023/12/18 15:17
*/
public static function add(array $params): bool
{
Db::startTrans();
try {
$costBudgetAdjust = CostBudgetAdjust::create([
'approve_id' => $params['approve_id'],
'years' => $params['years'],
'document_preparation_time' => $params['document_preparation_time'],
'remark' => $params['remark'],
'annex' => $params['annex'],
]);
foreach ($params['detail'] ?? [] as $item)
{
CostBudgetAdjustDetail::create([
'cost_budget_adjust_id' => $costBudgetAdjust->id,
'cost_subject_id' => $item['cost_subject_id'] ?? 0,
'dept_id' => $item['dept_id'] ?? 0,
'month1' => $item['month1'] ?? 0,
'month2' => $item['month2'] ?? 0,
'month3' => $item['month3'] ?? 0,
'month4' => $item['month4'] ?? 0,
'month5' => $item['month5'] ?? 0,
'month6' => $item['month6'] ?? 0,
'month7' => $item['month7'] ?? 0,
'month8' => $item['month8'] ?? 0,
'month9' => $item['month9'] ?? 0,
'month10' => $item['month10'] ?? 0,
'month11' => $item['month11'] ?? 0,
'month12' => $item['month12'] ?? 0
]);
}
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 编辑
* @param array $params
* @return bool
* @author likeadmin
* @date 2023/12/18 15:17
*/
public static function edit(array $params): bool
{
Db::startTrans();
try {
CostBudgetAdjust::where('id', $params['id'])->update([
'approve_id' => $params['approve_id'],
'years' => $params['years'],
'document_preparation_time' => $params['document_preparation_time'],
'remark' => $params['remark'],
'annex' => $params['annex'],
]);
CostBudgetAdjustDetail::where('cost_budget_adjust_id', $params['id'])->update(['delete_time' => time()]);
foreach ($params['detail'] ?? [] as $item)
{
CostBudgetAdjustDetail::where('cost_budget_adjust_id', $params['id'])->update([
'cost_subject_id' => $item['cost_subject_id'] ?? 0,
'dept_id' => $item['dept_id'] ?? 0,
'month1' => $item['month1'] ?? 0,
'month2' => $item['month2'] ?? 0,
'month3' => $item['month3'] ?? 0,
'month4' => $item['month4'] ?? 0,
'month5' => $item['month5'] ?? 0,
'month6' => $item['month6'] ?? 0,
'month7' => $item['month7'] ?? 0,
'month8' => $item['month8'] ?? 0,
'month9' => $item['month9'] ?? 0,
'month10' => $item['month10'] ?? 0,
'month11' => $item['month11'] ?? 0,
'month12' => $item['month12'] ?? 0
]);
}
Db::commit();
return true;
} catch (\Exception $e) {
Db::rollback();
self::setError($e->getMessage());
return false;
}
}
/**
* @notes 删除
* @param array $params
* @return bool
* @author likeadmin
* @date 2023/12/18 15:17
*/
public static function delete(array $params): bool
{
return CostBudgetAdjust::destroy($params['id']);
}
/**
* @notes 获取详情
* @param $params
* @return array
* @author likeadmin
* @date 2023/12/18 15:17
*/
public static function detail($params): array
{
$costBudgetAdjust = CostBudgetAdjust::findOrEmpty($params['id']);
$costBudgetAdjust->detail;
return $costBudgetAdjust->toArray();
}
}

View File

@ -0,0 +1,98 @@
<?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\adminapi\validate\cost;
use app\common\validate\BaseValidate;
/**
* CostBudgetAdjustDetail验证器
* Class CostBudgetAdjustDetailValidate
* @package app\adminapi\validate\cost
*/
class CostBudgetAdjustDetailValidate extends BaseValidate
{
/**
* 设置校验规则
* @var string[]
*/
protected $rule = [
'id' => 'require',
'cost_subject_id' => 'require',
'cost_budget_adjust_id' => 'require',
];
/**
* 参数描述
* @var string[]
*/
protected $field = [
'id' => 'id',
'cost_subject_id' => 'cost_subject_id',
'cost_budget_adjust_id' => '预算调整id',
];
/**
* @notes 添加场景
* @return CostBudgetAdjustDetailValidate
* @author likeadmin
* @date 2023/12/18 15:06
*/
public function sceneAdd()
{
return $this->only(['cost_subject_id','cost_budget_adjust_id']);
}
/**
* @notes 编辑场景
* @return CostBudgetAdjustDetailValidate
* @author likeadmin
* @date 2023/12/18 15:06
*/
public function sceneEdit()
{
return $this->only(['id','cost_subject_id','cost_budget_adjust_id']);
}
/**
* @notes 删除场景
* @return CostBudgetAdjustDetailValidate
* @author likeadmin
* @date 2023/12/18 15:06
*/
public function sceneDelete()
{
return $this->only(['id']);
}
/**
* @notes 详情场景
* @return CostBudgetAdjustDetailValidate
* @author likeadmin
* @date 2023/12/18 15:06
*/
public function sceneDetail()
{
return $this->only(['id']);
}
}

View File

@ -0,0 +1,100 @@
<?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\adminapi\validate\cost;
use app\common\validate\BaseValidate;
/**
* CostBudgetAdjust验证器
* Class CostBudgetAdjustValidate
* @package app\adminapi\validate\cost
*/
class CostBudgetAdjustValidate extends BaseValidate
{
/**
* 设置校验规则
* @var string[]
*/
protected $rule = [
'id' => 'require',
'approve_id' => 'require',
'years' => 'require',
'document_preparation_time' => 'require',
];
/**
* 参数描述
* @var string[]
*/
protected $field = [
'id' => 'id',
'approve_id' => '审批id',
'years' => '年份',
'document_preparation_time' => '制单时间',
];
/**
* @notes 添加场景
* @return CostBudgetAdjustValidate
* @author likeadmin
* @date 2023/12/18 15:17
*/
public function sceneAdd()
{
return $this->only(['approve_id','years','document_preparation_time']);
}
/**
* @notes 编辑场景
* @return CostBudgetAdjustValidate
* @author likeadmin
* @date 2023/12/18 15:17
*/
public function sceneEdit()
{
return $this->only(['id','approve_id','years','document_preparation_time']);
}
/**
* @notes 删除场景
* @return CostBudgetAdjustValidate
* @author likeadmin
* @date 2023/12/18 15:17
*/
public function sceneDelete()
{
return $this->only(['id']);
}
/**
* @notes 详情场景
* @return CostBudgetAdjustValidate
* @author likeadmin
* @date 2023/12/18 15:17
*/
public function sceneDetail()
{
return $this->only(['id']);
}
}

View File

@ -0,0 +1,45 @@
<?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\cost;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
/**
* CostBudgetAdjust模型
* Class CostBudgetAdjust
* @package app\common\model\cost
*/
class CostBudgetAdjust extends BaseModel
{
use SoftDelete;
protected $name = 'cost_budget_adjust';
protected $deleteTime = 'delete_time';
/**
* @notes 关联detail
* @return \think\model\relation\HasMany
* @author likeadmin
* @date 2023/12/18 15:17
*/
public function detail()
{
return $this->hasMany(\app\common\model\cost\CostBudgetAdjustDetail::class, 'cost_budget_adjust_id', 'id');
}
}

View File

@ -0,0 +1,34 @@
<?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\cost;
use app\common\model\BaseModel;
use think\model\concern\SoftDelete;
/**
* CostBudgetAdjustDetail模型
* Class CostBudgetAdjustDetail
* @package app\common\model\cost
*/
class CostBudgetAdjustDetail extends BaseModel
{
use SoftDelete;
protected $name = 'cost_budget_adjust_detail';
protected $deleteTime = 'delete_time';
}