package com.haha.common.constant;

/**
 * 签到相关常量
 */
public final class CheckinConstants {

    private CheckinConstants() {}

    // ==================== 签到类型 ====================

    /** 理货盘点签到 */
    public static final String TYPE_INVENTORY_TALLY = "inventory_tally";

    /** 补货确认签到 */
    public static final String TYPE_REPLENISHMENT = "replenishment";

    // ==================== 签到状态 ====================

    /** 待同步 */
    public static final String STATUS_PENDING = "pending";

    /** 已同步 */
    public static final String STATUS_SYNCED = "synced";

    /**
     * 获取签到类型描述
     */
    public static String getTypeName(String checkinType) {
        if (TYPE_INVENTORY_TALLY.equals(checkinType)) {
            return "理货盘点签到";
        } else if (TYPE_REPLENISHMENT.equals(checkinType)) {
            return "补货确认签到";
        }
        return "未知签到类型";
    }
}
