package com.xueyi.system.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.dto.DmVisitorsDto;
import com.xueyi.system.api.staff.domain.dto.DmStaffDto;
import com.xueyi.system.digitalmans.domain.po.DmReceptionPo;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

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

/**
 * 接待模式管理 数据传输对象
 *
 * @author yinruoxi
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DmReceptionDto extends DmReceptionPo {

    @Serial
    private static final long serialVersionUID = 1L;

    @Correlation(groupName = Reception_Staff_GROUP, keyType = OperateConstants.SubKeyType.RECEIVE)
    private DmStaffDto head;

    @Correlation(groupName = Reception_DmReceptionVisitorMerge_GROUP, keyType = OperateConstants.SubKeyType.RECEIVE)
    private List<DmVisitorsDto> visitors;

    // 属性值变量
    private Long [][] priorities;
}