- 견적유형 4종: QuotationType 에 신규협상(3)·신규견적(4) 추가(1·2 재 고정)
- 목표가 산정: items(매입가·판매가·인터넷최저가) + quotations.md_price +
quotation_settings.internet_average_fee 로 _calc_target_price(KTC 이식, 신규/재 분리),
세션 target_price·target_anchoring_price 저장
- 협력사유형: quotations.supplier_type(SupplierType) + 직전유형 조회 API(/supplier/{id}/last-type)
- 협상카드 용도: nego_cards/wild_cards.usage_type(CardUsageType: 공통/신규견적전용/재견적전용)
- 스키마(01-schema.sql)·ORM·protocol·service·crud·프론트(생성타입/폼) 일괄, /backend enums·models 미러
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
35 lines
1.4 KiB
TypeScript
35 lines
1.4 KiB
TypeScript
/**
|
|
* Generated by orval v7.21.0 🍺
|
|
* Do not edit manually.
|
|
* Negodata Api Server
|
|
* OpenAPI spec version: 0.1.0
|
|
*/
|
|
import type { ReqCreateQuotationVersionId } from './reqCreateQuotationVersionId';
|
|
import type { ReqCreateQuotationStartTime } from './reqCreateQuotationStartTime';
|
|
import type { ReqCreateQuotationManagerName } from './reqCreateQuotationManagerName';
|
|
import type { ReqCreateQuotationManagerEmail } from './reqCreateQuotationManagerEmail';
|
|
import type { ReqCreateQuotationManagerContactNumber } from './reqCreateQuotationManagerContactNumber';
|
|
import type { ReqCreateQuotationMemo } from './reqCreateQuotationMemo';
|
|
import type { ReqCreateQuotationMdPrice } from './reqCreateQuotationMdPrice';
|
|
import type { ReqCreateQuotationSupplierType } from './reqCreateQuotationSupplierType';
|
|
|
|
export interface ReqCreateQuotation {
|
|
qt_setting_id: string;
|
|
version_id?: ReqCreateQuotationVersionId;
|
|
name?: string;
|
|
type?: number;
|
|
status?: number;
|
|
start_time?: ReqCreateQuotationStartTime;
|
|
end_time: string;
|
|
round?: number;
|
|
manager_name?: ReqCreateQuotationManagerName;
|
|
manager_email?: ReqCreateQuotationManagerEmail;
|
|
manager_contact_number?: ReqCreateQuotationManagerContactNumber;
|
|
memo?: ReqCreateQuotationMemo;
|
|
md_price?: ReqCreateQuotationMdPrice;
|
|
supplier_type?: ReqCreateQuotationSupplierType;
|
|
item_ids?: string[];
|
|
supplier_ids?: string[];
|
|
card_ids?: string[];
|
|
}
|