package cn.stylefeng.team.project.modular.business.pojo.request;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class BusinessDeleteRequest extends BaseRequest {

    @NotNull(message = "业务id不能为空")
    @ChineseDescription("业务id")
    private Long businessId;

    @NotNull(message = "主表的主键id不能为空")
    @ChineseDescription("主表的主键id")
    private Long primaryKeyId;

}
