package org.dromara.work.domain.bo;

import org.dromara.work.domain.TpPanorama;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 全景业务对象 tp_panorama
 *
 * @author Maosw
 * @date 2025-03-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TpPanorama.class, reverseConvertGenerate = false)
public class TpPanoramaBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * 标题
     */
    private String title;

    /**
     * 背景链接
     */
    private String url;

    /**
     * 热点
     */
    private String point;

    /**
     * 样式
     */
    private String style;

    /**
     * 图片
     */
    private String imgs;

    /**
     * 宽度
     */
    private Long width;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 备注
     */
    private String remark;


}
