package net.ferrum.business.domain.bo;

import net.ferrum.common.core.validate.AddGroup;
import net.ferrum.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import net.ferrum.common.core.domain.BaseEntity;

/**
 * userSupplier业务对象 qs_user_supplier
 *
 * @author tzx
 * @date 2025-07-13
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class QsUserSupplierBo extends BaseEntity {

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

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

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


}
