You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
simple-yewu/common/models/MetalPlatePart.php

47 lines
727 B

<?php
namespace common\models;
use Yii;
use yii\db\ActiveRecord;
/**
* This is the model class for table "metal_plate_part".
*
* @property integer $id
* @property string $name
*/
class MetalPlatePart extends ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return 'metal_plate_part';
}
/**
* @inheritdoc
*/
public function rules()
{
return [
[['name'], 'string', 'max' => 100],
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'name' => 'Name',
];
}
public function getMiddleParintPrice(){
}
}