package com.crm.rely.backend.core.entity.user.role;

import com.crm.rely.backend.core.constant.ManagerConstant;
import com.crm.rely.backend.core.entity.base.BaseUpdateEntity;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;
@Data
public class UserRoleOperateListEntity extends BaseUpdateEntity {

    @NotNull(message = ManagerConstant.ROLE_NOT_NULL_ERROR)
    private Long roleId;

    private Long departmentId;

    private Integer isMerchantRole;

    /**
     * 商户id
     */
    private Integer merchantId;

    private List<UserRoleOperateEntity> data;
}
