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

import com.xueyi.common.core.annotation.Correlation;
import com.xueyi.common.core.constant.basic.OperateConstants;
import com.xueyi.common.core.web.validate.V_A_E;
import com.xueyi.system.api.resource.domain.vo.DmResourcesVo;
import com.xueyi.system.api.staff.domain.po.DmStaffPo;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serial;

import static com.xueyi.system.api.staff.domain.merge.MergeGroup.STAFF_DmStaffFeatureMerge_GROUP;

@Data
public class DmStaffDto extends DmStaffPo {
    @Serial
    private static final long serialVersionUID = 1L;

    /** 用户组 */
    @Correlation(groupName = STAFF_DmStaffFeatureMerge_GROUP, keyType = OperateConstants.SubKeyType.RECEIVE_ARR)
    private Long feature;

    protected DmResourcesVo resource;

}
