package kr.wisestone.owl.domain;
|
|
import javax.persistence.*;
|
import java.io.Serializable;
|
|
/**
|
* Created by wisestone on 2018-02-19.
|
*/
|
@Entity
|
public class ReservationDisableUser extends BaseEntity implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
private Long id;
|
private String userIds;
|
|
@OneToOne
|
@JoinColumn(name = "payment_id")
|
private Payment payment;
|
|
public ReservationDisableUser() {}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getUserIds() {
|
return userIds;
|
}
|
|
public void setUserIds(String userIds) {
|
this.userIds = userIds;
|
}
|
|
public Payment getPayment() {
|
return payment;
|
}
|
|
public void setPayment(Payment payment) {
|
this.payment = payment;
|
}
|
}
|