<?php

namespace Kylin\Logistics\Enums;

/**
 * 结算方式枚举
 */
enum SettlementType: string
{
    case MONTHLY = 'monthly';
    case SINGLE = 'single';
    case PREPAID = 'prepaid';

    public function label(): string
    {
        return match ($this) {
            self::MONTHLY => '月结',
            self::SINGLE => '单结',
            self::PREPAID => '预付',
        };
    }
}
