2026-04-23 c247f5bf64c98595cc7e4efc9e1ae7ff1df79c11
src/main/java/com/ruoyi/stock/pojo/StockOutRecord.java
@@ -1,10 +1,11 @@
package com.ruoyi.stock.pojo;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.math.BigDecimal;
@@ -21,49 +22,55 @@
@Getter
@Setter
@TableName("stock_out_record")
@ApiModel(value = "StockOutRecord对象", description = "出库记录表")
@Schema(name = "StockOutRecord对象", description = "出库记录表")
public class StockOutRecord implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Long id;
    @ApiModelProperty("入库批次")
    @Schema(description = "入库批次")
    private String outboundBatches;
    @ApiModelProperty("入库数量")
    @Schema(description = "入库数量")
    private BigDecimal stockOutNum;
    @ApiModelProperty("入库来源id")
    @Schema(description = "入库来源id")
    private Long recordId;
    @ApiModelProperty("入库类型")
    @Schema(description = "入库类型")
    private String recordType;
    @ApiModelProperty("产品规格id")
    private Integer productModelId;
    @Schema(description = "产品规格id")
    private Long productModelId;
    @ApiModelProperty("备注")
    @Schema(description = "备注")
    private String remark;
    @ApiModelProperty("创建时间")
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @ApiModelProperty("更新时间")
    @Schema(description = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    @ApiModelProperty("创建人")
    @Schema(description = "创建人")
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
    @ApiModelProperty("更新人")
    @Schema(description = "更新人")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
    @ApiModelProperty("租户id")
    @Schema(description = "类型  0合格入库 1不合格入库")
    private String type;
    @TableField(fill = FieldFill.INSERT)
    private Integer tenantId;
    private Long deptId;
}