| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <?php
- namespace addons\BossWeight\common\models;
- use Yii;
- /**
- * This is the model class for table "{{%addons_boss_weight_reward_order_log}}".
- *
- * @property int $id
- * @property int $mall_id 商城ID
- * @property int $order_id 订单ID
- * @property string $order_no 订单编号
- * @property int order_price 实付金额
- * @property int settle_price 计算金额
- * @property int $date 数据生成日期
- * @property int|null $status 状态[-1:删除;0:禁用;1启用]
- * @property int $created_at
- * @property int $updated_at
- */
- class AddonsBossRewardOrderLog extends \common\models\base\BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%addons_boss_weight_reward_order_log}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['mall_id', 'order_id', 'date', 'status', 'created_at', 'updated_at'], 'integer'],
- [['order_price', 'settle_price'], 'number'],
- [['order_no'], 'string', 'max' => 100],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'mall_id' => '商城ID',
- 'order_id' => '订单ID',
- 'order_no' => '订单编号',
- 'user_id' => '用户ID',
- 'order_price' => '实付金额',
- 'settle_price' => '计算金额',
- 'status' => '状态[-1:删除;0:禁用;1启用]',
- 'created_at' => 'Created At',
- 'updated_at' => 'Updated At',
- ];
- }
- }
|