package org.dromara.zhishu.domain.bo;

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

/**
 * 商品信息补全表业务对象 zhishu_shop_goods_detail
 *
 * @author yxy
 * @date 2025-06-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ZhishuShopGoodsDetail.class, reverseConvertGenerate = false)
public class ZhishuShopGoodsDetailBo extends BaseEntity {

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

    /**
     * 商品id
     */
    private Long pid;

    /**
     * 作者
     */
    private String author;

    /**
     * 出版社
     */
    private String publisher;

    /**
     * 出版时间
     */
    private String publishertime;

    /**
     * 开本
     */
    private String format;

    /**
     * 字数
     */
    private String wordage;

    /**
     * 统一书号
     */
    private String unifiedisbn;

    /**
     * 状态（0正常 1停用）
     */
    private String status;


}
