package com.xueyi.system.api.digitalmans.domain.dto;

import com.xueyi.common.core.annotation.Correlation;
import com.xueyi.common.core.constant.basic.OperateConstants;
import com.xueyi.system.api.digitalmans.domain.po.DmModelPo;
import com.xueyi.system.api.resource.domain.po.DmResourcesPo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.List;

import static com.xueyi.system.api.digitalmans.domain.merge.MergeGroup.Model_DmModelIcon_GROUP;

/**
 * 模型 数据传输对象
 *
 * @author xueyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DmModelDto extends DmModelPo {

    @Serial
    private static final long serialVersionUID = 1L;

    // 显示服装路径集
    protected List<DmResourcesPo> rSuits;

    // 显示背景图片路径集
    protected List<DmResourcesPo> rBackgrounds;

    protected List<DmResourcesPo> rScreenOffs;
    // 显示icon路径
    protected DmResourcesPo rIcon;

    // 模型地址
    protected String modelUrl;

    // 数字人昵称
    protected String name;

//    @Correlation(groupName = Model_DmModelIcon_GROUP, keyType = OperateConstants.SubKeyType.RECEIVE)
    protected List<DmScreenIconDto> dmScreenIconDtos;

}