From 1f67c3d08e51bd0d01be4b5c7d0b695be5628a00 Mon Sep 17 00:00:00 2001 From: p5j9vn3t2 <2596686495@qq.com> Date: Sun, 30 Apr 2023 08:29:12 +0800 Subject: [PATCH] ADD file via upload --- src/main/java/com/entity/SubClassifyInfo.java | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 src/main/java/com/entity/SubClassifyInfo.java diff --git a/src/main/java/com/entity/SubClassifyInfo.java b/src/main/java/com/entity/SubClassifyInfo.java new file mode 100644 index 0000000..8f67b4a --- /dev/null +++ b/src/main/java/com/entity/SubClassifyInfo.java @@ -0,0 +1,45 @@ +package com.example.entity; + +import javax.persistence.*; + +@Table(name = "sub_classify_info") +public class SubClassifyInfo { + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + + @Column(name = "name") + private String name; + @Column(name = "description") + private String description; + @Column(name = "classifyId") + private Long classifyId; + + public String getName() { + return name; + } + public void setName(String name) { + this.name = name; + } + public String getDescription() { + return description; + } + public void setDescription(String description) { + this.description = description; + } + public Long getClassifyId() { + return classifyId; + } + public void setClassifyId(Long classifyId) { + this.classifyId = classifyId; + } + + + public void setId(Long id) { + this.id = id; + } + public Long getId() { + return this.id; + } + +}