File History: src/main/java/com/paymentlink/model/entity/PaymentLinkItem.java

← View file content

File Content at Commit 9c24ca4

1 package com.paymentlink.model.entity;
2
3 import com.fasterxml.jackson.annotation.JsonBackReference;
4 import jakarta.persistence.*;
5 import lombok.AllArgsConstructor;
6 import lombok.Builder;
7 import lombok.Data;
8 import lombok.NoArgsConstructor;
9
10 @Entity
11 @Table(name = "payment_link_items")
12 @Data
13 @NoArgsConstructor
14 @AllArgsConstructor
15 @Builder
16 public class PaymentLinkItem {
17
18 @Id
19 @GeneratedValue(strategy = GenerationType.IDENTITY)
20 private Long id;
21
22 @ManyToOne(fetch = FetchType.LAZY)
23 @JoinColumn(name = "payment_link_id", nullable = false)
24 @JsonBackReference
25 private PaymentLink paymentLink;
26
27 @Column(name = "product_id", nullable = false)
28 private Long productId;
29
30 @Column(name = "product_name", nullable = false)
31 private String productName;
32
33 @Column(nullable = false)
34 private Integer quantity;
35
36 @Column(nullable = false)
37 private Long price; // Price per item in cents
38 }
39
40

Commits

Commit Author Date Message File SHA Actions
f0438c2 <f69e50@finnacloud.com> 1766443042 +0300 12/22/2025, 10:37:22 PM increment once more 62e6fcd View
188fc92 <f69e50@finnacloud.com> 1766442998 +0300 12/22/2025, 10:36:38 PM increment 62e6fcd View
4617f76 <f69e50@finnacloud.com> 1766442953 +0300 12/22/2025, 10:35:53 PM rename branch from main to master oops 62e6fcd View
e6d1548 <f69e50@finnacloud.com> 1766442769 +0300 12/22/2025, 10:32:49 PM add initial test workflow file 62e6fcd View
9c24ca4 <f69e50@finnacloud.com> 1766442705 +0300 12/22/2025, 10:31:45 PM add CI configuration and test script for Jenkins build 62e6fcd Hide
690c1f6 <f69e50@finnacloud.com> 1766368110 +0300 12/22/2025, 1:48:30 AM initialize backend structure with controllers, DTOs, and configuration files 62e6fcd View