ERP erd
Tables (34)
AC_bond (채권)
- 채권코드 (bondCode) — Primary key — NOT NULL
- 발생일자 (date)
- 거래처 (trader)
- 금액 (amount)
- 증감구분 (increaseDecreaseType)
- 만기일자 (matruityDate)
- 잔액 (balance)
- 적요 (description)
AC_debt (채무)
- 채무코드 (debtCode) — Primary key — NOT NULL
- 발생일자 (date)
- 거래처 (trader)
- 금액 (amount)
- 증감구분 (increaseDecreaseType)
- 만기일자 (maturityDate)
- 잔액 (balance)
- 적요 (description)
AC_month (월별 소득현황)
- 년/월 (yearMonth) — Primary key — NOT NULL
- 수익 (revenue)
- 부가세 (VAT)
- 비용 (expense)
- 순수익 (netIncome)
- 적요 (description)
AC_purchaseSlip (Untitled2)
- 전표코드 (slip_code) — Primary key — NOT NULL
- 거래일자 (tradeDate)
- 거래처코드 (traderCode) — Foreign key → MG_Account_Mg.거래처코드
- 금액 (amount)
- 부가세 (VAT)
- 카드번호 (cardNum)
- 카드명 (cardName)
- 거래유형 (transactionType)
- 적요 (description)
AC_saleSlip (Untitled3)
- 전표코드 (slipCode) — Primary key — NOT NULL
- 거래일자 (tradeDate)
- 거래자 (memberId) — String — Foreign key → SD_Member.Key — NOT NULL
- 적요 (description)
- 금액 (amount)
- 부가세 (VAT)
- 카드번호 (cardNum)
- 카드명 (cardName)
- 거래유형 (transactionType)
AC_taxRate (세율)
- 세금명 (taxName) — Primary key — NOT NULL
- 세율 (taxRate)
HR_cont (근로계약서)
- 사원번호 (EmployeeID) — Foreign key → HR_mem.사원번호 — NOT NULL
- 근로계약서등록일 (ContractDate)
- 근로계약서명 (ContractName)
- 서명요청여부 (SignA)
- 서명완료여부 (SignB)
- 사원이름 (Name)
HR_day (일용직)
- 일용근무일 (DayWorkDate)
- 부서명 (DeptName)
- 일용직사원이름 (DayWorkName)
- 일용근무시간 (DayWorkHour)
- 일용근무지급액 (DayWorkPay)
HR_dept (부서)
- 부서명 (DeptName) — Foreign key → HR_mem.부서명 — NOT NULL
- 부서코드 (DeptCode)
HR_doc (증명서 관련)
- 사원번호 (EmployeeID) — Foreign key → HR_mem.사원번호 — NOT NULL
- 발행번호 (DocNum)
- 사원이름 (Name)
- 증명서종류 (DocType)
- 용도 (DocUse)
- 발행일 (DocDate)
HR_mem (사원)
- 사원번호 (EmployeeID) — Primary key — NOT NULL
- 부서명 (DeptName) — Primary key — NOT NULL
- 사원이름 (Name)
- 입사일자 (StartDate)
- 직급명 (Position)
- 이메일 (Email)
- 계좌번호 (BankNum)
- 기본급여 (ReqularPay)
HR_work (근태)
- 사원번호 (EmployeeID) — Foreign key → HR_mem.사원번호 — NOT NULL
- 근무일 (WorkData)
- 사원이름 (Name)
- 출근시간 (StratTime)
- 퇴근시간 (EndTime)
- 정규근무시간 (WorkHour)
- 특별근무시간 (OvertimeHour)
- 수당항목 (OvertimeType)
- 특별근무지급액 (OVertimePay)
- 근태내역 (Attendance)
MG_Account_Mg (거래처관리)
- 거래처코드 (Account_code) — Primary key
- 거래처명 (Account_name)
- 전화번호 (Account_num)
- 거래처담당자 (Account_manager)
MG_Item_Price (단가관리)
- 순서 (price_num) — Primary key
- 품목구분코드 (Item_code) — Foreign key → MG_Item_Regi.품목구분코드 — NOT NULL
- 단가 (Item_unitprice)
- 물품명 (Item_name)
MG_Item_Regi (품목등록)
- 품목구분코드 (Item_code) — Primary key — NOT NULL
- 품목명 (Item_name)
- 원가 (Item_cost)
- 품목이름(종류) (Item_type)
- 입고날짜 (Item_reciving)
- 개수 (Item_number)
MG_WMS (WMS)
- 창고명 (Ware_name) — Primary key — NOT NULL
- 품목구분코드 (Item_code) — Foreign key → MG_Item_Regi.품목구분코드 — NOT NULL
- 위치 (Ware_location)
- 입고날짜 (Ware_reciving)
- 출고날짜 (Ware_release)
- 물품명 (Item_name)
- 원가 (Item_cost)
- 품목종류 (Item_type)
- 개수 (Ware_number)
MG_sn (시리얼넘버)
- 카운트 (Sn_count) — Primary key
- 품목구분코드 (Item_code) — Foreign key → MG_Item_Regi.품목구분코드 — NOT NULL
- 판매영수증 (Sn_receipt)
PD_BOM (BOM)
- 품목코드 (prodCode) — Primary key — NOT NULL
- 생산공정명 (ProdLine)
- 원재료갯수 (RawMatNum)
- 단위 (Unit)
- 수량 (Num)
- 구분 (Type)
- 생산수량 (RawNum)
- 작업시간 (WorkTime)
PD_Cost (원가관리)
- 품목코드 (prodCode2) — Foreign key → PD_BOM.품목코드 — NOT NULL
- 품목명 (prodName)
- 수량 (kg)
- 원가 (cost)
PD_Pruchase (Untitled8)
- Key (id) — Long — Primary key — NOT NULL
- Key (memberId) — String — Foreign key → SD_Member.Key — NOT NULL
- Key (product_id) — Long — Foreign key → SD_Product.Key — NOT NULL
- Key (sellerId) — String — Foreign key → SD_Seller.Key — NOT NULL
- Field (purchaseDate) — Localdate
- Field2 (purchaseAmount) — Integer
- Field3 (transcationTime) — LocalDateTime
- Field4 (cancellationReturnInfo) — boolean
- Field5 (cardName) — String
- Field6 (cardNumber) — String
PD_QC (품질검사입력)
- id — Primary key
- 품목코드 (prodCode) — Foreign key → PD_BOM.품목코드 — NOT NULL
- 수량 (ProdNum)
- 시료 (QCNum)
- 검사항목 (QCList) — Foreign key → PD_QCregi.검사항목
- 검사방법 (QCTool)
- 적격여부 (P/F)
PD_QCregi (품질검사유형등록)
- 검사항목 (QCList) — Primary key
- 유형코드 (QCCode)
- 유형명 (QCName)
- 품목설정 (QCProd)
PD_R%S (생산불출/입고)
- id — Primary key — NOT NULL
- 불출번호 (RelNum)
- 입고번호 (StoNum)
- 보내는 곳 (From)
- 받는곳 (To)
- 품목코드 (prodCode) — Foreign key → PD_BOM.품목코드 — NOT NULL
- 수량 (Num)
- 생산금액 (ProdCost)
- 외주비단가 (OutSrcCost)
- 외주비합계 (OutSrcTot)
PD_WO (작업지시서 등록)
- 작업지시번호 (OrderNum) — Primary key
- 품목코드 (prodCode) — Foreign key → PD_BOM.품목코드 — NOT NULL
- 납품처명 (DeliveryName)
- 담당자 (manager)
- 납기일자 (DeliveryDate)
- 지시수량 (Order)
- 생산수량 (Making)
- 생산공장 (Factory)
PD_WorkHistory (작업내역 입력)
- id — Primary key — NOT NULL
- 자원명 (ResName) — Foreign key → PD_res.자원명
- 작업 (Work)
- 품목코드 (prodCode) — Foreign key → PD_BOM.품목코드 — NOT NULL
- 수량 (Num)
- 작업시간 (WorkTime)
- 투입인원 (TO)
PD_res (자원등록)
- 자원명 (ResName) — Primary key
- 위치 (Location)
- 대상작업 (Do)
- 자원코드 (ResCode)
SD_CommissionRate (Untitled4)
- Key (category) — String — Primary key — NOT NULL
- Field (rate) — Double
SD_Member (Untitled5)
- Key (memberId) — String — Primary key — NOT NULL
- Field (name) — String
- Field2 (dateOfBirth) — LocalDate
- Field3 (country) — String
- Field4 (contactNumber) — String
- Field5 (email) — String
- Field6 (address) — String
- Field7 (gender) — String
- Field8 (joindate) — LocalDate
- Field9 (membership) — boolean
- Field10 (credit_date) — LocalDate
SD_PBproduct (Untitled6)
- Key (productCode) — String — Primary key — NOT NULL
- Field (productName) — String
- Field2 (price) — Double
- Field3 (releaseDate) — LocalDate
- Field4 (description) — String
- c (category) — String
SD_Product (Untitled7)
- Key (id) — Long — Primary key — NOT NULL
- Field (productType) — String
- Field2 (productName) — String
- Field3 (price) — Double
- Field4 (registrationDate) — LocalDate
- Field5 (registrationStatus) — String
- Field6 (imageFile) — String
- Field7 (category) — String
- Field8 (description) — String
SD_Sales (Untitled9)
- Key (id) — Long — Primary key — NOT NULL
- Key (product_id) — Long — Foreign key → SD_Product.Key — NOT NULL
- Key (sellerId) — String — Foreign key → SD_Seller.Key — NOT NULL
- Field (quantitySold) — Integer
- Field2 (saleDate) — LocalDate
- Field3 (totalSaleAmount) — Double
SD_Seller (Untitled10)
- Key (sellerId) — String — Primary key — NOT NULL
- Field (businessNumber) — String
- Field2 (contactInfo) — String
- Field3 (email) — String
- Field4 (ceoName) — String
- Field5 (address) — String
- Field6 (contract) — boolean
- Field7 (registrationDate) — LocalDate
SD_SellerCommission (Untitled11)
- Key (num) — Long — Primary key — NOT NULL
- Key (sellerId) — String — Foreign key → SD_Seller.Key — NOT NULL
- Field (totalSales) — Double
- Field2 (paidCommission) — Double
Use_self (자가사용)
- 순서 (use_num) — Primary key — NOT NULL
- 창고명 (Ware_name) — Foreign key → MG_WMS.창고명 — NOT NULL
- 품목구분코드 (Item_code) — Foreign key → MG_WMS.품목구분코드 — NOT NULL
- 사용날짜 (Use_date)
- 개수 (Us_num)
- 물품명 (Us_name)