Skip to content

Commit

Permalink
feat: Added ListModel entity to define staff data
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] committed Apr 17, 2024
1 parent d1a385b commit 47e98e6
Showing 1 changed file with 78 additions and 0 deletions.
78 changes: 78 additions & 0 deletions src/main/java/com/wsmsdemo/model/ListModel.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
package com.wsmsdemo.model;

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

@Entity
public class ListModel {

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

@Column(nullable = false)
private String staff_name;

@Column(nullable = true)
private Integer check_code;

@Column(nullable = false)
private Boolean is_delete;

@Column(nullable = false)
private Boolean is_lock;

@Column(nullable = false)
private Integer error_check_code_counter;

public Long getId() {
return id;
}

public void setId(Long id) {
this.id = id;
}

public String getStaff_name() {
return staff_name;
}

public void setStaff_name(String staff_name) {
this.staff_name = staff_name;
}

public Integer getCheck_code() {
return check_code;
}

public void setCheck_code(Integer check_code) {
this.check_code = check_code;
}

public Boolean getIs_delete() {
return is_delete;
}

public void setIs_delete(Boolean is_delete) {
this.is_delete = is_delete;
}

public Boolean getIs_lock() {
return is_lock;
}

public void setIs_lock(Boolean is_lock) {
this.is_lock = is_lock;
}

public Integer getError_check_code_counter() {
return error_check_code_counter;
}

public void setError_check_code_counter(Integer error_check_code_counter) {
this.error_check_code_counter = error_check_code_counter;
}
}

0 comments on commit 47e98e6

Please sign in to comment.