KOSMO4-2 / KOSMO4-2/ToYou

ProductBuyLog.java

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

package com.toyou.project.model;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import org.hibernate.annotations.CreationTimestamp;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
@Entity
public class ProductBuyLog {

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int productBuyLogNo;

@Column(nullable = false)
private int productNo; // fk => product.productNo

@CreationTimestamp
private Timestamp productBuyLogDate; // 상품 결제일 !

@Column(nullable = false)
private int userNo;

}

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue supplies the complete ProductBuyLog.java source under com.toyou.project.model. Start by checking where model classes belong and whether this file is already present; done means the requested file is incorporated with the shown entity definition and the project remains buildable.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, database
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.