package org.jeecg.modules.app.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class SignPositionGroup {
    private List<ComponentPosition> merchant;  // 商户位置
    private List<ComponentPosition> customer;  // 用户位置

    // Getters and Setters
    @Data
    @Accessors(chain = true)
    public static class ComponentPosition {
        private float x;
        private float y;
        private int pageNum;

        // Constructor
        public ComponentPosition(float x, float y, int pageNum) {
            this.x = x;
            this.y = y;
            this.pageNum = pageNum;
        }
    }
}
