package org.dromara.zhishu.domain.bo;

import org.dromara.zhishu.domain.WaveDetail;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.zhishu.domain.dto.WaveDetailInsertDto;

/**
 * 波次信息业务对象 wave_detail
 *
 * @author Lion Li
 * @date 2026-01-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = WaveDetail.class, reverseConvertGenerate = false)
public class WaveDetailBo extends BaseEntity {

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

    /**
     * 波次ID
     */
    private Long waveId;

    /**
     * ISBN
     */
    private String isbn;

    /**
     * 仓储ID
     */
    private Long stockId;

    /**
     * 仓储编号
     */
    private String stockNum;

    /**
     * 创建时间
     */
    private Long createdTime;

    /**
     * 更新时间
     */
    private Long updatedTime;

    /**
     * 是否已删除
     */
    private Long isDel;

    /**
     * 前台传递对象
     */
    private WaveDetailInsertDto requestData;
}
