From b9522d131e168a92c88f23e2c0a3a2df079926b4 Mon Sep 17 00:00:00 2001 From: zhibing.pu <393733352@qq.com> Date: 星期一, 19 八月 2024 17:43:43 +0800 Subject: [PATCH] 新增加小程序接口 --- ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TCompany.java | 13 +++++-------- 1 files changed, 5 insertions(+), 8 deletions(-) diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TCompany.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TCompany.java index 762d3b4..6136683 100644 --- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TCompany.java +++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TCompany.java @@ -1,6 +1,7 @@ package com.ruoyi.other.api.domain; import com.baomidou.mybatisplus.annotation.*; +import com.ruoyi.common.core.web.domain.BasePojo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -21,7 +22,7 @@ @EqualsAndHashCode(callSuper = false) @TableName("t_company") @ApiModel(value="TCompany对象", description="") -public class TCompany implements Serializable { +public class TCompany extends BasePojo { private static final long serialVersionUID = 1L; @@ -41,14 +42,10 @@ @TableField("remark") private String remark; - @ApiModelProperty(value = "添加时间") - @TableField("create_time") - private LocalDateTime createTime; - @ApiModelProperty(value = "删除(0=否,1=是)") - @TableField("del_flag") - @TableLogic - private Integer delFlag; + @ApiModelProperty(value = "人数") + @TableField(exist = false) + private Long userCount; } -- Gitblit v1.7.1