package com.ga.core.vo.contract;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * 위촉계약 상태 (V45 agent_contract.status)
 */
public enum AgentContractStatus {
    ACTIVE("유효"),
    TERMINATED("해촉"),
    SUSPENDED("정지");

    private final String label;

    AgentContractStatus(String label) {
        this.label = label;
    }

    @JsonValue
    public String getCode() {
        return this.name();
    }

    public String getLabel() {
        return label;
    }
}
