| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- namespace App\Module\GameItems\Casts;
- use Illuminate\Database\Eloquent\Model;
- use UCore\Model\CastsAttributes;
- class NumericAttributesCast extends CastsAttributes
- {
- /**
- * 宝箱最小数量
- *
- * @var int $min_drop_count
- */
- public int $min_drop_count = 0;
- /**
- * 宝箱最大数量
- *
- * @var int $max_drop_count
- */
- public int $max_drop_count = 0;
- /**
- * 测试属性浮点类型
- *
- * @var float $fint
- */
- public float $fint = 0.1;
- /**
- * 减少作物生长时间
- *
- * @var int $intd
- */
- public int $crop_growth_time = 0;
- /**
- * 测试属性字符串类型
- * @var string $stval
- */
- public string $stval = ' ';
- }
|