package org.dromara.zhishu.domain.bo;

import org.dromara.zhishu.domain.ShopContext;
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.*;

/**
 * 店铺设置商品描述业务对象 t_shop_context
 *
 * @author yxy
 * @date 2025-09-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ShopContext.class, reverseConvertGenerate = false)
public class ShopContextBo extends BaseEntity {

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

    /**
     * 店铺id
     */
    private Long shopId;

    /**
     * 商品描述
     */
    private String context;

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


}
