* OrderEntity 추가

This commit is contained in:
xxxjjhhh
2024-07-28 01:27:39 +09:00
parent 12bf61fb3b
commit 7a40197649
2 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
package com.example.springbatch.entity;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import lombok.Getter;
import lombok.Setter;
@Entity
@Getter
@Setter
public class OrderEntity {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String username;
private Long order; //GREEN : 0 ~ 9, GOLD : 10 ~ 19, BLACK : 20 ~
private String grade;
}

View File

@@ -15,7 +15,6 @@ public class FirstSchedule {
private final JobLauncher jobLauncher;
private final JobRegistry jobRegistry;
//private final ApplicationContext applicationContext;
public FirstSchedule(JobLauncher jobLauncher, JobRegistry jobRegistry) {
this.jobLauncher = jobLauncher;