This commit is contained in:
2023-08-09 14:57:22 +08:00
parent af3295eaa5
commit 751a87ab33
4 changed files with 29 additions and 18 deletions
+4 -4
View File
@@ -10,8 +10,8 @@ use Hyperf\Database\Model\Collection;
use Hyperf\Snowflake\Concern\Snowflake;
/**
* @property int $gts_ccis_id 主键id
* @property string $gts_ccis_name 检测机构名称
* @property int $detection_organ_id 主键id
* @property string $detection_organ_name 检测机构名称
* @property int $status 状态(1:正常 2:删除)
* @property \Carbon\Carbon $created_at 创建时间
* @property \Carbon\Carbon $updated_at 修改时间
@@ -28,9 +28,9 @@ class BasicDetectionOrgan extends Model
/**
* The attributes that are mass assignable.
*/
protected array $fillable = ['gts_ccis_id', 'gts_ccis_name', 'status', 'created_at', 'updated_at'];
protected array $fillable = ['detection_organ_id', 'detection_organ_name', 'status', 'created_at', 'updated_at'];
protected string $primaryKey = "gts_ccis_id";
protected string $primaryKey = "detection_organ_id";
/**
* 获取信息-单条