feat(project): 계약범위를 글/그림 자유 텍스트 2칸으로 변경 (드롭다운 제거)
build-and-push / build (push) Successful in 33s

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
theorose49
2026-06-28 11:23:38 +09:00
co-authored by Claude Opus 4.8
parent df09d23662
commit db0f857f0a
2 changed files with 6 additions and 9 deletions
+3 -8
View File
@@ -38,13 +38,6 @@ type Version struct {
func (m *Version) BeforeCreate(*gorm.DB) error { m.ensureID(); return nil }
// Consulting metadata enums (stored as free strings for flexibility).
const (
ScopeText = "text" // 글
ScopeGraphic = "graphic" // 그림
ScopeBoth = "both" // 글+그림
)
// Project is the core engagement record. The bracketed [admin-only] fields in the
// spec live on Contract / PaymentSplit, not here, so Project is safe to expose to
// any member who belongs to it.
@@ -59,7 +52,9 @@ type Project struct {
VersionName string `json:"versionName"`
ConsultingType string `json:"consultingType"` // 컨설팅 종류
Country string `json:"country"` // 제출 국가
Scope string `json:"scope"` // text | graphic | both
// 계약 범위: 글/그림 각각 자유 입력(무엇을 포함하는지 텍스트로 기술).
ScopeText string `json:"scopeText"` // 글 계약 범위
ScopeGraphic string `json:"scopeGraphic"` // 그림 계약 범위
PMEmail string `json:"pmEmail"` // 프로젝트 PM
Cautions string `json:"cautions"` // 주의사항 (구성원 공개)
Status string `json:"status"` // planned | active | hold | done | dropped