| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?php
- namespace app\models;
- use yii\behaviors\TimestampBehavior;
- /**
- * This is the model class for table "{{%team_grades_goods}}".
- *
- * @property integer $id
- * @property integer $store_id
- * @property integer $goods_id
- * @property float $goods_team_grades
- * @property integer $is_delete
- * @property integer $created_at
- * @property integer $updated_at
- */
- class TeamGradesGoods extends \yii\db\ActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%team_grades_goods}}';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['id', 'store_id', 'goods_id', 'is_delete', 'created_at', 'updated_at'], 'integer'],
- [['goods_team_grades'], 'number']
- ];
- }
- public function behaviors()
- {
- return [
- [
- 'class' => TimestampBehavior::class
- ]
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => '',
- 'store_id' => '商城id',
- 'goods_id' => '商品id',
- 'goods_team_grades' => '业绩分红值',
- 'is_delete' => '是否删除',
- 'created_at' => '',
- 'updated_at' => '',
- ];
- }
- }
|