| 123456789101112131415161718192021 |
- <?php
- namespace App\Model;
- class CostManagement extends UseScopeBaseModel
- {
- protected $table = "cost_management"; //指定表
- const CREATED_AT = 'crt_time';
- const UPDATED_AT = 'upd_time';
- protected $dateFormat = 'U';
- const employee_column = "crt_id";
- public static $field = ['man_mark','id','mark','amount','crt_id','crt_time','customer_supply_id', 'order_time', 'is_open'];
- const is_open = 1;
- const is_not_open = 0;
- const IS_OPEN_title = [
- self::is_not_open => '否',
- self::is_open => '是'
- ];
- }
|