feat: [pm] 이슈에 팀/담당자/고객사 필드 추가
- DB 마이그레이션: 하이브리드 FK + 문자열 필드 방식 - Model: fillable, casts, relationships, accessor 추가 - FormRequest: validation rules 추가 (Store/Update) - ImportService: JSON import 시 새 필드 처리 - UI: 이슈 모달에 입력 필드 추가 - UI: 작업 탭 아코디언에 고객사·부서·담당자 표시 - 이슈 저장 후 작업 탭 즉시 갱신
This commit is contained in:
@@ -30,6 +30,12 @@ public function rules(): array
|
||||
'start_date' => 'nullable|date',
|
||||
'due_date' => 'nullable|date|after_or_equal:start_date',
|
||||
'estimated_hours' => 'nullable|integer|min:0|max:9999',
|
||||
// 팀/담당자/고객사 (하이브리드)
|
||||
'department_id' => 'nullable|integer|exists:departments,id',
|
||||
'team' => 'nullable|string|max:100',
|
||||
'assignee_id' => 'nullable|integer|exists:users,id',
|
||||
'assignee_name' => 'nullable|string|max:100',
|
||||
'client' => 'nullable|string|max:100',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -48,6 +54,11 @@ public function attributes(): array
|
||||
'start_date' => '시작일',
|
||||
'due_date' => '마감일',
|
||||
'estimated_hours' => '예상 시간',
|
||||
'department_id' => '부서',
|
||||
'team' => '팀/부서명',
|
||||
'assignee_id' => '담당자',
|
||||
'assignee_name' => '담당자명',
|
||||
'client' => '고객사',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user