TaskTransaction.php 586 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace App;
  3. use Illuminate\Database\Eloquent\Model;
  4. use App\Traits\ModelLogChanging;
  5. class TaskTransaction extends Model
  6. {
  7. use ModelLogChanging;
  8. protected $fillable = [
  9. "fm_station_id",
  10. "to_station_id",
  11. "material_box_id",
  12. "task_id",
  13. "commodity_id",
  14. "amount",
  15. "type",
  16. "status",
  17. "user_id",
  18. "mark"
  19. ];
  20. const STATUS = [
  21. 0 => "待做",
  22. 1 => "完成",
  23. 2 => "失败"
  24. ];
  25. const MARK = [
  26. 0 => "无",
  27. 1 => "缓存架半箱入库"
  28. ];
  29. }