Serving a payment option for my minecraft server so I don't have to pay for it all alone
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

MinecraftServerSubscription.class.php 850B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /**
  3. * @Name minecraft_server_subscription
  4. */
  5. class MinecraftServerSubscription extends Entity
  6. {
  7. /**
  8. * @DB-Column
  9. * @Name ID
  10. * @Type INT
  11. * @Primary
  12. * @AutoIncrement
  13. * @NotNull
  14. */
  15. public $ID;
  16. /**
  17. * @DB-Relation
  18. * @Field ID
  19. * @FieldName ConcerningServerID
  20. * @ManyToOne
  21. * @OnUpdate CASCADE
  22. * @OnDelete CASCADE
  23. * @var MinecraftServer
  24. */
  25. public $ConcerningServer;
  26. /**
  27. * @DB-Relation
  28. * @Field ID
  29. * @FieldName UnlockedUserID
  30. * @ManyToOne
  31. * @OnUpdate CASCADE
  32. * @OnDelete CASCADE
  33. * @var MinecraftUser
  34. */
  35. public $UnlockedUser;
  36. /**
  37. * @DB-Column
  38. * @Name SubscriptionDate
  39. * @Default CURRENT_TIMESTAMP
  40. * @Type TIMESTAMP
  41. * @NotNull
  42. */
  43. public $SubscriptionDate;
  44. }