Advertisement
shchuko

hardcodedlexa

Nov 3rd, 2021
885
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.95 KB | None | 0 0
  1. package com.itmo.microservices.shop.order.constants;
  2.  
  3. import com.itmo.microservices.shop.order.impl.entity.OrderStatus;
  4.  
  5. import java.util.UUID;
  6.  
  7. public class HardcodedValues {
  8.     public final UUID orderUUID = UUID.fromString("3fa85f64-5717-4562-b3fc-2c963f66afa6");
  9.     public final UUID userUUID = UUID.fromString("3fa85f64-5720-4562-b3fc-2c963f66afa6");
  10.     public final UUID itemUUID = UUID.fromString("3fa75f64-5720-4562-b3fc-2c963f66afa6");
  11.  
  12.     public final Integer price = 1000;
  13.     public final Integer amount = 2;
  14.     public final Integer slot = 160256;
  15.     public final Long time = 456L;
  16.  
  17.     public final OrderStatus collectedStatus;
  18.     public final OrderStatus bookedStatus;
  19.  
  20.     {
  21.         collectedStatus = new OrderStatus();
  22.         collectedStatus.setId(1);
  23.         collectedStatus.setName("COLLECTED");
  24.  
  25.         bookedStatus = new OrderStatus();
  26.         bookedStatus.setId(2);
  27.         bookedStatus.setName("BOOKED");
  28.     }
  29. }
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement