diff options
Diffstat (limited to 'src/main')
4 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/Operation.java b/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/Operation.java index 01e082a..6409b55 100644 --- a/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/Operation.java +++ b/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/Operation.java @@ -36,15 +36,15 @@ public class Operation { @Column(nullable = false, name = "date_created") @NonNull - private Timestamp date_created; + private Timestamp dateCreated; @Column(nullable = false, name = "date_modified") @NonNull - private Timestamp date_modified; + private Timestamp dateModified; @Column(nullable = false, name = "date_finished") @NonNull - private Timestamp date_finished; + private Timestamp dateFinished; @Column(nullable = false, name = "address") diff --git a/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/Partner.java b/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/Partner.java index 6d1859d..f801c42 100644 --- a/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/Partner.java +++ b/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/Partner.java @@ -23,7 +23,7 @@ public class Partner { @Column(nullable = false, name = "tax_number") @NonNull - private String tax_number; + private String taxNumber; @Column(nullable = false, name = "type") @Enumerated(EnumType.STRING) diff --git a/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/Product.java b/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/Product.java index 34b4c5a..10da162 100644 --- a/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/Product.java +++ b/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/Product.java @@ -39,6 +39,6 @@ public class Product { @Column(nullable = true, name = "max_storage_duration", columnDefinition = "interval") @NonNull - private Duration max_storage_duration; + private Duration maxStorageDuration; } diff --git a/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/ProductSlots.java b/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/ProductSlots.java index b3a19a1..58fe4d9 100644 --- a/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/ProductSlots.java +++ b/src/main/java/ru/mrfoxygmfr/warehouse_accounting/db/models/ProductSlots.java @@ -41,5 +41,5 @@ public class ProductSlots { @Column(nullable = false, name = "placement_time") @NonNull - private Timestamp placement_time; + private Timestamp placementTime; } |