| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
- namespace addons\DoubleCopy\common\models;
- use Yii;
- /**
- * This is the model class for table "{{%addons_double_copy_achievement}}".
- *
- * @property int $id
- * @property int $mall_id 商城ID
- * @property int $user_id 用户id
- * @property int $order_detail_id 订单详情id
- * @property float|null $money 实付金额,单位:元
- * @property int $status 状态[-1:删除;0:禁用;1启用]
- * @property int $created_at
- * @property int $updated_at
- */
- class DoubleCopyAchievement extends \common\models\base\BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%addons_double_copy_achievement}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['mall_id', 'user_id', 'order_detail_id', 'status', 'created_at', 'updated_at'], 'integer'],
- [['money'], 'number'],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'mall_id' => '商城ID',
- 'user_id' => '用户id',
- 'order_detail_id' => '订单详情id',
- 'money' => '实付金额,单位:元',
- 'status' => '状态[-1:删除;0:禁用;1启用]',
- 'created_at' => 'Created At',
- 'updated_at' => 'Updated At',
- ];
- }
- }
|