| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?php
- namespace addons\ScoreExpansion\common\models;
- use Yii;
- /**
- * This is the model class for table "qimall_addons_score_expansion_rate_task".
- *
- * @property int $id
- * @property int $order_id 订单id
- * @property int $is_work 是否执行过 1是 0否
- * @property string|null $day 执行时间
- * @property string|null $source_table 来源
- * @property int|null $updated_at
- * @property int|null $created_at
- */
- class ScoreExpansionRateTask extends \common\models\base\BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return 'qimall_addons_score_expansion_rate_task';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['order_id'], 'required'],
- [['order_id', 'is_work', 'updated_at', 'created_at'], 'integer'],
- [['day'], 'string', 'max' => 255],
- [['source_table'], 'string', 'max' => 24],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'order_id' => 'Order ID',
- 'is_work' => 'Is Work',
- 'day' => 'Day',
- 'updated_at' => 'Updated At',
- 'created_at' => 'Created At',
- ];
- }
- }
|