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;
}
