using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace iBemsDataService.Controllers
{
    // FmsWorkCodeProgress 와 동일해야 함
    enum WorkProgress : short
    {
        WORK_PLAN = 1,  // 작업계획   - 실행계획상태
        WORK_POSTPONE,  // 작업보류
        WORK_STANDBY,   // 작업대기
        WORKING,        // 작업중
        WORK_COMPLETE,  // 작업완료
        WORK_CONFIRM    // 작업완료승인
    };


    // FmsWorkCodeCycleUnit과 동일한 값
    enum CycleUnit : int
    {
        DAY = 1 ,
        WEEK ,
        MONTH ,
        QUARTER ,
        HALF_YEAR ,
        YEAR
    };

    // FmsMaterialCodeProgress 와 동일해야 함
    enum PurchaseProgress : short
    {
        PURCHASE_REQUEST = 1 ,              // 구매신청
        PURCHASE_REQUEST_APPROVAL = 2 ,     // 신청승인
        PURCHASE_ORDER = 3 ,                // 발주요청
        MATERIAL_STORED = 4 ,               // 자재입고
        MATERIAL_STORED_APPROVAL = 5        // 입고승인
    };
}