From 0625f2b84520090949d68dfea7e18c17748212f2 Mon Sep 17 00:00:00 2001 From: p5j9vn3t2 <2596686495@qq.com> Date: Sun, 30 Apr 2023 08:22:37 +0800 Subject: [PATCH] ADD file via upload --- src/main/java/com/entity/ClassifyInfo.java | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/main/java/com/entity/ClassifyInfo.java diff --git a/src/main/java/com/entity/ClassifyInfo.java b/src/main/java/com/entity/ClassifyInfo.java new file mode 100644 index 0000000..130a162 --- /dev/null +++ b/src/main/java/com/entity/ClassifyInfo.java @@ -0,0 +1,37 @@ +package com.example.entity; + +import javax.persistence.*; + +@Table(name = "classify_info") +public class ClassifyInfo { + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + + @Column(name = "name") + private String name; + @Column(name = "descroiption") + private String descroiption; + + public String getName() { + return name; + } + public void setName(String name) { + this.name = name; + } + public String getDescroiption() { + return descroiption; + } + public void setDescroiption(String descroiption) { + this.descroiption = descroiption; + } + + + public void setId(Long id) { + this.id = id; + } + public Long getId() { + return this.id; + } + +}