Files
OpenIsle/backend/src/main/java/com/openisle/model/ContributorConfig.java
2025-08-10 01:29:41 +08:00

28 lines
560 B
Java

package com.openisle.model;
import jakarta.persistence.*;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Entity
@Getter
@Setter
@NoArgsConstructor
@Table(name = "contributor_configs")
public class ContributorConfig {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@Column(nullable = false, unique = true)
private String userIname;
@Column(nullable = false, unique = true)
private String githubId;
@Column(nullable = false)
private long contributionLines = 0;
}