| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <?php
- namespace app\models;
- use yii\behaviors\TimestampBehavior;
- /**
- * This is the model class for table "{{%team_grades_dividend_log}}".
- *
- * @property integer $id
- * @property integer $store_id
- * @property integer $user_id
- * @property integer $team_grades_id
- * @property float $radix
- * @property float $profit
- * @property float $amount
- * @property integer $is_send
- * @property integer $send_time
- * @property integer $created_at
- * @property integer $updated_at
- */
- class TeamGradesDividendLog extends \yii\db\ActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%team_grades_dividend_log}}';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['id', 'store_id', 'user_id', 'team_grades_id', 'is_send', 'send_time', 'created_at', 'updated_at'], 'integer'],
- [['radix', 'profit', 'amount'], 'number']
- ];
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class
- ]
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => '',
- 'store_id' => '店铺id',
- 'user_id' => '用户id',
- 'team_grades_id' => '团队分红人员id',
- 'radix' => '分红基数',
- 'profit' => '分红比例',
- 'amount' => '分红金额',
- 'is_send' => '是否发放',
- 'send_time' => '发放时间',
- 'created_at' => '',
- 'updated_at' => ''
- ];
- }
- }
|