package com.fjhx.victoriatourist.entity.after.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BasePo;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * <p>
 * 售后管理-关联商品
 * </p>
 *
 * @author
 * @since 2023-04-19
 */
@Getter
@Setter
@TableName("after_sale_detail")
public class AfterSaleDetail extends BasePo {

    /**
     * 售后管理id
     */
    private Long afterSaleRecordId;

    /**
     * 产品id
     */
    @NotNull(message = "产品id不能为空")
    private Long productId;

    /**
     * 数量
     */
    @NotNull(message = "产品数量不能为空")
    private BigDecimal quantity;

    /**
     * 备注
     */
    private String remark;

}
