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