package com.example.domain;

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

import lombok.Getter;
import lombok.Setter;

//ユーザーウォレットのエンティティ
@Getter
@Setter
@Table(name="user_wallets")
@Entity
public class Wallets {
	@Id
	@GeneratedValue
	private Integer id;
	@Column(nullable=false)
	private Integer userId;
	@Column(nullable=false)
	private Integer amount;
}
