<template>
  <div class="card rounded-md bg-neutral text-neutral-content shadow-sm shadow-gray-400">
    <div class="card-body text-xs px-1 py-2">
      <p>安全存量: {{ safety_stock }} 頓</p>
      <p>目前存量: {{ current_stock }} 頓</p>
      <p>{{ updateTime }}</p>
    </div>
  </div>
</template>

<script setup>
defineProps({
  safety_stock: {
    type: Number,
    required: true,
  },
  current_stock: {
    type: Number,
    required: true,
  },
  updateTime: {
    type: String,
    required: true,
  },
});
</script>
