From 0c5defb96c450261e19d4fdbb14979a7b5c92d77 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期三, 06 三月 2024 17:01:47 +0800 Subject: [PATCH] 添加方法 --- cloud-server-other/src/main/java/com/dsh/other/entity/Site.java | 28 ++++++++++++++++++++++------ 1 files changed, 22 insertions(+), 6 deletions(-) diff --git a/cloud-server-other/src/main/java/com/dsh/other/entity/Site.java b/cloud-server-other/src/main/java/com/dsh/other/entity/Site.java index c85c10f..ec100db 100644 --- a/cloud-server-other/src/main/java/com/dsh/other/entity/Site.java +++ b/cloud-server-other/src/main/java/com/dsh/other/entity/Site.java @@ -19,7 +19,7 @@ /** * 主键 */ - @TableId(value = "id", type = IdType.AUTO) + @TableId(value = "id", type = IdType.INPUT) private Integer id; /** * 门店id @@ -61,6 +61,11 @@ */ @TableField("cityCode") private String cityCode; + /** + * 是否可预约(0=否,1=是) + */ + @TableField("isCanBeBooked") + private Integer isCanBeBooked; /** * 预约开始时间 */ @@ -106,17 +111,28 @@ * 添加时间 */ @TableField("insertTime") - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date insertTime; + @TableField("operatorId") + private Integer operatorId; + @TableField("typeName") + private String typeName; @TableField("imgs") private String imgs; @TableField("introduce") private String introduce; - @TableField("是否半场 1是 2否") + @TableField("ishalf") private Integer ishalf; - @TableField("场地名称 多个逗号分割") + @TableField("nextName") private String nextName; - @TableField("半场名称 多个逗号分割") + @TableField("halfName") private String halfName; - + @TableField("cashPriceOne") + private Double cashPriceOne; + @TableField("playPaiCoinOne") + private Double playPaiCoinOne; + @TableField("ids") + private String ids; + @TableField("sign") + private Integer sign; } -- Gitblit v1.7.1