| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?php
- namespace addons\Happiness\common\models;
- use Yii;
- /**
- * This is the model class for table "{{%addons_weight_bonus_pool_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
- * @property int $num 分红人数
- * @property float $total_amount 分红总金额
- * @property float $period_total_amount 本期奖金池总金额
- * @property int $period 发放期数
- */
- class HappinessWeightPoolJob extends \common\models\base\BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%addons_happiness_weight_pool_job}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['mall_id', 'compute_period', 'status', 'created_at', 'updated_at', 'num', 'period'], 'integer'],
- [['date_limit'], 'string', 'max' => 45],
- [['total_amount', 'period_total_amount'], 'number'],
- ];
- }
- /**
- * {@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',
- 'num' => '分红人数',
- 'total_amount' => '分红总金额',
- 'period' => '发放期数',
- 'period_total_amount' => '本期奖金池总金额'
- ];
- }
- }
|