package com.qingyun.service.domain.bo;

import com.qingyun.service.domain.ContractReviewResult;
import com.qingyun.common.core.domain.BaseEntity;
import com.qingyun.common.core.validate.AddGroup;
import com.qingyun.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

/**
 * 审查结果业务对象 contract_review_result
 *
 * @author jianlu
 * @date 2025-07-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ContractReviewResult.class, reverseConvertGenerate = false)
public class ContractReviewResultBo extends BaseEntity {

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

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

}
