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 java.util.Date;

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

/**
 * 操作员操作记录业务对象 qs_operator_record
 *
 * @author 26554
 * @date 2025-04-21
 */

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

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

    /**
     * 操作员Id
     */
    @NotNull(message = "操作员Id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long operatorId;

    /**
     * 操作类型
     */
    @NotNull(message = "操作类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer operation;

    /**
     * 对应样品模板
     */
    @NotNull(message = "对应样品模板不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long projectId;


}
