123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php
- namespace app\modules\admin\models;
- use Yii;
- /**
- * This is the model class for table "{{%attachment_trash}}".
- *
- * @property int $id
- * @property int $a_id
- * @property string $file_path
- * @property int $is_oss
- * @property int $create_time
- */
- class AttachmentTrash extends \app\common\models\EActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%attachment_trash}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['a_id', 'is_oss', 'create_time'], 'integer'],
- [['file_path', 'create_time'], 'required'],
- [['file_path'], 'string', 'max' => 500],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'a_id' => 'A ID',
- 'file_path' => 'File Path',
- 'is_oss' => 'Is Oss',
- 'create_time' => 'Create Time',
- ];
- }
- }
|