| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <?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 CensusMallCapitalStatistics extends BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%census_mall_capital_statistics}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['mall_id', 'status', 'created_at', 'updated_at'], 'integer'],
- [['balance_surplus_nums', 'commission_surplus_nums', 'score_surplus_nums'], 'number'],
- [['statistics_date'], 'string'],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'mall_id' => '商城ID',
- 'statistics_date' => '统计日期',
- 'balance_surplus_nums' => '余额剩余数量',
- 'commission_surplus_nums' => '佣金剩余数量',
- 'score_surplus_nums' => '积分剩余数量',
- 'status' => '状态[-1:删除;0:禁用;1启用;]',
- 'created_at' => '创建时间',
- 'updated_at' => '更新时间',
- ];
- }
- }
|