| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?php
- namespace addons\ServeBonus\common\models;
- use Yii;
- /**
- * This is the model class for table "{{%addons_servebonus_commission_job}}".
- *
- * @property int $id
- * @property int $mall_id 商城ID
- * @property string $date_limit 结算开始~结束日期
- * @property int $compute_period 结算周期:1天,2周,3月
- * @property int|null $status 状态[-1:删除;0:禁用;1启用]
- * @property int $created_at
- * @property int $updated_at
- */
- class ServeBonusCommissionJob extends \common\models\base\BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%addons_servebonus_commission_job}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['mall_id', 'compute_period', 'status', 'created_at', 'updated_at'], 'integer'],
- [['date_limit'], 'string', 'max' => 45],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'mall_id' => '商城ID',
- 'date_limit' => '结算开始~结束日期',
- 'compute_period' => '结算周期:1天,2周,3月',
- 'status' => '状态[-1:删除;0:禁用;1启用]',
- 'created_at' => 'Created At',
- 'updated_at' => 'Updated At',
- ];
- }
- }
|