| | |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | |
| | | */ |
| | | @TableField("storeId") |
| | | private Integer storeId; |
| | | /** |
| | | * 是否可预约 |
| | | */ |
| | | @TableField("isCanBeBooked") |
| | | private Integer isCanBeBooked; |
| | | /** |
| | | * 场地名称 |
| | | */ |
| | |
| | | private String imgs; |
| | | @TableField("ids") |
| | | private String ids; |
| | | |
| | | |
| | | // 是否可预约 0否1是 |
| | | @TableField("reservation") |
| | | private Integer reservation; |
| | | |
| | | /** |
| | | * 面向人群:1=订场,2=散客,多个用逗号分隔(如:1,2) |
| | | */ |
| | | @TableField("targetAudience") |
| | | private String targetAudience; |
| | | |
| | | /** |
| | | * 容纳散客数(仅当包含散客时有效) |
| | | */ |
| | | @TableField("walkinCapacity") |
| | | private Integer walkinCapacity; |
| | | |
| | | /** |
| | | * 价格详情列表(不存储在数据库,用于接收前端传递的价格数据) |
| | | */ |
| | | @TableField(exist = false) |
| | | private List<PriceDTO> priceDTOS; |
| | | |
| | | /** |
| | | * 价格详情内部类 |
| | | */ |
| | | @Data |
| | | public static class PriceDTO { |
| | | private String startTime; |
| | | private String endTime; |
| | | private Integer dayOfWeek; |
| | | private Integer targetAudience; |
| | | private Integer fieldType; |
| | | private Double cashPrice; |
| | | private Double coinPrice; |
| | | } |
| | | } |