From f819aa0addac06d14f68526976a960c485af4cca Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期一, 18 三月 2024 09:58:10 +0800 Subject: [PATCH] 添加主页面功能(笼子,出片任务) --- springboot-vue3/src/main/java/com/example/springboot/entity/FlowCard.java | 52 ++++++++++++++++++++-------------------------------- 1 files changed, 20 insertions(+), 32 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 f90a3bc..525d3e4 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,43 +1,31 @@ package com.example.springboot.entity; -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableId; +import java.sql.Date; +import java.util.List; + import com.baomidou.mybatisplus.annotation.TableName; +import cn.hutool.core.date.DateTime; import lombok.Data; -/** - * 娴佺▼鍗¤〃 - */ @Data -@TableName("flowcard") -public class FlowCard { +@TableName("`flowcard`") +public class Flowcard { + private Integer id;// 鑷id + private String flowcard;// 娴佺▼鍗d + private Integer number;// 鐜荤拑鏁伴噺 + private Integer line;// 浠诲姟璺嚎 + private Integer state;// 鐘舵�� + private Integer method;// 鍑虹墖鏂瑰紡 + private Date starttime;// 浠诲姟棰嗗彇鏃堕棿 - /** - * 涓婚敭锛岃嚜鍔ㄧ敓鎴� - */ - @TableId(value = "id", type = IdType.AUTO) - private Integer id; + public List<GlassInfo> glassinfo;// 鐜荤拑淇℃伅 - /** - * 娴佺▼鍗� - */ - private String flowcard; - /** - * 鎬诲眰鏁� - */ - private Integer totaltier; - /** - * 鐜荤拑鏁伴噺 - */ - private Integer number; - /** - * 浠诲姟绾胯矾 - */ - private Integer line; - /** - * 鐘舵�� - */ - private Integer state; + public void setglassinfo(List<GlassInfo> glassinfo) { + this.glassinfo = glassinfo; + } + public List<GlassInfo> getglassinfo() { + return glassinfo; + } } -- Gitblit v1.8.0