From 17efddc6a667670dca682bf36b51a43e99615e6d Mon Sep 17 00:00:00 2001 From: k94314517 <8417338+k94314517@user.noreply.gitee.com> Date: 星期三, 16 十月 2024 15:59:38 +0800 Subject: [PATCH] 代码初始化 --- server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/PlatformGroup.java | 35 +++++++++++++++++++++++++++++++---- 1 files changed, 31 insertions(+), 4 deletions(-) diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/PlatformGroup.java b/server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/PlatformGroup.java index 519ccee..1eea899 100644 --- a/server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/PlatformGroup.java +++ b/server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/PlatformGroup.java @@ -1,6 +1,8 @@ package com.doumee.dao.business.model; +import com.baomidou.mybatisplus.annotation.TableField; import com.doumee.core.annotation.excel.ExcelColumn; +import com.doumee.core.model.LoginUserModel; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import com.baomidou.mybatisplus.annotation.IdType; @@ -9,16 +11,17 @@ import lombok.Data; import com.fasterxml.jackson.annotation.JsonFormat; import java.util.Date; +import java.util.List; /** * 鏈堝彴_鍒嗙粍淇℃伅琛� * @author 姹熻箘韫� - * @since 2024/04/28 16:06 + * @date 2024/06/28 10:03 */ @Data @ApiModel("鏈堝彴_鍒嗙粍淇℃伅琛�") @TableName("`platform_group`") -public class PlatformGroup { +public class PlatformGroup extends LoginUserModel { @TableId(type = IdType.AUTO) @ApiModelProperty(value = "涓婚敭", example = "1") @@ -31,7 +34,7 @@ @ApiModelProperty(value = "鍒涘缓鏃堕棿") @ExcelColumn(name="鍒涘缓鏃堕棿") - @JsonFormat(pattern = "yyyy-MM-dd") + private Date createDate; @ApiModelProperty(value = "鏇存柊浜虹紪鐮�", example = "1") @@ -40,13 +43,25 @@ @ApiModelProperty(value = "鏇存柊鏃堕棿") @ExcelColumn(name="鏇存柊鏃堕棿") - @JsonFormat(pattern = "yyyy-MM-dd") + private Date editDate; @ApiModelProperty(value = "鏄惁鍒犻櫎0鍚� 1鏄�", example = "1") @ExcelColumn(name="鏄惁鍒犻櫎0鍚� 1鏄�") private Integer isdeleted; + @ApiModelProperty(value = "绫诲瀷 1瀹夋嘲鐗╂祦瑁呰揣 0瀹夋嘲鐗╂祦鍗歌揣 2甯傚叕鍙稿嵏璐�", example = "1") + @ExcelColumn(name="绫诲瀷 1瀹夋嘲鐗╂祦瑁呰揣 0瀹夋嘲鐗╂祦鍗歌揣 2甯傚叕鍙稿嵏璐�") + private Integer type; + @ApiModelProperty(value = "宸ヤ綔寮�濮嬫椂闂�") + @ExcelColumn(name="宸ヤ綔寮�濮嬫椂闂�") + private String startTime; + @ApiModelProperty(value = "宸ヤ綔缁撴潫鏃堕棿") + @ExcelColumn(name="宸ヤ綔缁撴潫鏃堕棿") + private String endTime; + @ApiModelProperty(value = "绛夊緟鍙彿鏃堕棿锛堝垎閽燂級") + @ExcelColumn(name="绛夊緟鍙彿鏃堕棿锛堝垎閽燂級") + private Integer waitCallTime; @ApiModelProperty(value = "鍚嶇О") @ExcelColumn(name="鍚嶇О") private String name; @@ -63,4 +78,16 @@ @ExcelColumn(name="鎺掑簭鐮�") private Integer sortnum; + @ApiModelProperty(value = "鏈堝彴缁勪笅鐨勬湀鍙�") + @TableField(exist = false) + private List<Platform> platformList; + + + @ApiModelProperty(value = "浣滀笟涓帓闃熻溅杈�", example = "1") + @TableField(exist = false) + private List<PlatformJob> workJobList; + + @ApiModelProperty(value = "宸茬鍒版帓闃熻溅杈�", example = "1") + @TableField(exist = false) + private List<PlatformJob> signJobList; } -- Gitblit v1.9.3