From 712b7bd7bfc09dee41a63c769a272b9ebae68c90 Mon Sep 17 00:00:00 2001 From: wu <731351411@qq.com> Date: 星期四, 07 三月 2024 14:44:11 +0800 Subject: [PATCH] 更新代码 --- springboot-vue3/src/main/java/com/example/springboot/entity/flowcard.java | 44 ++++++++++++++++++++++++++++++++++---------- 1 files changed, 34 insertions(+), 10 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/entity/flowcard.java b/springboot-vue3/src/main/java/com/example/springboot/entity/flowcard.java index 0d6a010..f90a3bc 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/entity/flowcard.java +++ b/springboot-vue3/src/main/java/com/example/springboot/entity/flowcard.java @@ -1,19 +1,43 @@ package com.example.springboot.entity; -import java.util.Date; - +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; +/** + * 娴佺▼鍗¤〃 + */ @Data -@TableName("`flowcard`") -public class flowcard { - private Integer id;// 鑷id - private String flowcard;// 娴佺▼鍗d - private Integer number;// 鐜荤拑鏁伴噺 - private Integer line;// 浠诲姟璺嚎 - private Integer state;// 鐘舵�� - +@TableName("flowcard") +public class FlowCard { + + /** + * 涓婚敭锛岃嚜鍔ㄧ敓鎴� + */ + @TableId(value = "id", type = IdType.AUTO) + private Integer id; + + /** + * 娴佺▼鍗� + */ + private String flowcard; + /** + * 鎬诲眰鏁� + */ + private Integer totaltier; + /** + * 鐜荤拑鏁伴噺 + */ + private Integer number; + /** + * 浠诲姟绾胯矾 + */ + private Integer line; + /** + * 鐘舵�� + */ + private Integer state; } -- Gitblit v1.8.0