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;

//shoesのentityクラス
@Entity
@Setter
@Getter
@Table(name="shoes")
public class Shoes {
	@Id
	@GeneratedValue
	private Integer Id;
	@Column(nullable=false)
	private String Name;
	@Column(nullable=false)
	private Integer Price;
	@Column(nullable=false)
	private Integer Stock;
	@Column(nullable=false)
	private Integer Size;
	@Column(nullable=false)
	private Integer productStatus;
	@Column(nullable=false)
	private String photo;
}
