feat: [client] Client API 사업자 정보 필드 및 toggle 버그 수정

- business_no, business_type, business_item 필드 추가
- toggle 로직 수정: boolean 캐스팅 호환 (is_active === 'Y' → !is_active)
This commit is contained in:
2025-12-04 15:40:24 +09:00
parent f48ac54fe4
commit 165512e121
7 changed files with 279 additions and 2 deletions

View File

@@ -19,6 +19,9 @@
* @OA\Property(property="phone", type="string", nullable=true, example="010-1234-5678"),
* @OA\Property(property="email", type="string", nullable=true, example="client@example.com"),
* @OA\Property(property="address", type="string", nullable=true, example="서울시 강남구"),
* @OA\Property(property="business_no", type="string", nullable=true, maxLength=20, example="123-45-67890", description="사업자등록번호"),
* @OA\Property(property="business_type", type="string", nullable=true, maxLength=50, example="제조업", description="업태"),
* @OA\Property(property="business_item", type="string", nullable=true, maxLength=100, example="전자부품", description="업종"),
* @OA\Property(property="is_active", type="string", enum={"Y", "N"}, example="Y"),
* @OA\Property(property="created_at", type="string", example="2025-10-01 12:00:00"),
* @OA\Property(property="updated_at", type="string", example="2025-10-01 12:00:00")
@@ -71,6 +74,9 @@
* @OA\Property(property="phone", type="string", nullable=true, maxLength=20, example="010-1234-5678"),
* @OA\Property(property="email", type="string", nullable=true, maxLength=100, example="client@example.com"),
* @OA\Property(property="address", type="string", nullable=true, maxLength=255, example="서울시 강남구"),
* @OA\Property(property="business_no", type="string", nullable=true, maxLength=20, example="123-45-67890", description="사업자등록번호"),
* @OA\Property(property="business_type", type="string", nullable=true, maxLength=50, example="제조업", description="업태"),
* @OA\Property(property="business_item", type="string", nullable=true, maxLength=100, example="전자부품", description="업종"),
* @OA\Property(property="is_active", type="string", enum={"Y", "N"}, example="Y")
* )
*
@@ -85,6 +91,9 @@
* @OA\Property(property="phone", type="string", nullable=true, maxLength=20),
* @OA\Property(property="email", type="string", nullable=true, maxLength=100),
* @OA\Property(property="address", type="string", nullable=true, maxLength=255),
* @OA\Property(property="business_no", type="string", nullable=true, maxLength=20, description="사업자등록번호"),
* @OA\Property(property="business_type", type="string", nullable=true, maxLength=50, description="업태"),
* @OA\Property(property="business_item", type="string", nullable=true, maxLength=100, description="업종"),
* @OA\Property(property="is_active", type="string", enum={"Y", "N"})
* )
*/