| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?php
- namespace common\models\census;
- use common\models\base\BaseActiveRecord;
- use Yii;
- /**
- * This is the model class for table "qimall_census_mall_capital".
- *
- * @property int $id ID
- * @property int $mall_id 商城ID
- * @property string $type 类型
- * @property float $total_nums 累计数量【已结算佣金】
- * @property float $use_nums 使用数量
- * @property float $surplus_nums 剩余数量
- * @property float $withdrawal_nums 提现数量
- * @property float $service_charge 手续费
- * @property float $cancel_nums 无效数量
- * @property float $unsettled 待结算数量
- * @property int $status 状态[-1:删除;0:禁用;1启用;]
- * @property int $created_at 创建时间
- * @property int $updated_at 上次更新数据时间
- */
- class CensusMallCapital extends BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%census_mall_capital}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['mall_id', 'status', 'created_at', 'updated_at'], 'integer'],
- [['total_nums', 'use_nums', 'surplus_nums', 'withdrawal_nums', 'service_charge', 'cancel_nums', 'unsettled'], 'number'],
- [['type'], 'string', 'max' => 255],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'mall_id' => '商城ID',
- 'type' => '类型',
- 'total_nums' => '累计数量',
- 'use_nums' => '使用数量',
- 'surplus_nums' => '剩余数量',
- 'withdrawal_nums' => '提现数量',
- 'service_charge' => '手续费',
- 'cancel_nums' => '无效数量',
- 'unsettled' => '待结算数量',
- 'status' => '状态[-1:删除;0:禁用;1启用;]',
- 'created_at' => '创建时间',
- 'updated_at' => '上次更新数据时间',
- ];
- }
- }
|