mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-21 14:30:59 +08:00
28 lines
560 B
Java
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;
|
|
}
|
|
|