package com.ruoyi.web.sales.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.web.base.domain.base.Base;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = false)
@TableName("sales_delivery_goods")
@ApiModel(value = "SalesDeliveryGoods对象", description = "销售出库单货品清单")
public class SalesDeliveryGoods extends Base {

    private static final long serialVersionUID = 1L;

    /**
     * sales_delivery_goods 未使用通用备注列 remark。
     * Base 类中存在 remark 字段，这里显式屏蔽，避免查询报列不存在。
     */
    @TableField(exist = false)
    private String remark;

    @ApiModelProperty(value = "单据编号")
    private String deliveryNum;

    @ApiModelProperty(value = "货品编号")
    @Excel(name = "货品编号")
    private String goodsNum;

    @ApiModelProperty(value = "仓库编号")
    private String warehouseNum;

    @ApiModelProperty(value = "规格")
    private String goodsSpec;

    @ApiModelProperty(value = "批次")
    private String batchNum;

    @ApiModelProperty(value = "基本计量数量")
    private String baseNum;

    @ApiModelProperty(value = "销售重量")
    private String salesWeight;

    @ApiModelProperty(value = "基本计量单位")
    private String baseUnit;

    @ApiModelProperty(value = "辅助计量数量")
    private String assNum;

    @ApiModelProperty(value = "辅助计量单位")
    private String assUnit;

    @ApiModelProperty(value = "单价")
    private String unitPrice;

    @ApiModelProperty(value = "金额")
    private String amount;

    @ApiModelProperty(value = "货品备注")
    private String goodsRemark;

    @ApiModelProperty(value = "货品名称")
    private String goodsName;

    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;
}
