lisy
2023-06-19 53c9049089aac8d5e9f21c89ab62a2d85771973f
cloud-server-account/src/main/java/com/dsh/account/feignclient/course/model/CourseOfStoreVo.java
@@ -3,6 +3,9 @@
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
@Data
public class CourseOfStoreVo {
@@ -19,7 +22,7 @@
    @ApiModelProperty(value = "课包结束时间")
    private String classEndTime;
    @ApiModelProperty(value = "课包 周列表 分号隔开")
    @ApiModelProperty(value = "课包 周列表 分号隔开1;2;3;4;5")
    private String classWeeks;
    @ApiModelProperty(value = "门店id")
@@ -34,10 +37,23 @@
    @ApiModelProperty(value = "纬度")
    private String lon;
    public CourseOfStoreVo(Integer courseId, String courseName, Integer storeId, String storeName) {
    public CourseOfStoreVo(Integer courseId, String courseName, Integer storeId, String storeName,String classWeeks) {
        this.courseId = courseId;
        this.courseName = courseName;
        this.storeId = storeId;
        this.storeName = storeName;
        this.classWeeks = classWeeks;
    }
    @ApiModelProperty(value = "周列表")
    private List<Integer> classWeekList;
    public List<Integer> getClassWeekList() {
        String[] split = this.classWeeks.split(";");
        List<Integer> integers = new ArrayList<>();
        for (String s : split) {
            int num = Integer.parseInt(s);
            integers.add(num);
        }
        return integers;
    }
}