package com.ruoyi.stock.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.common.enums.ReviewStatusEnum;
|
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;
|
import java.time.LocalDateTime;
|
|
/**
|
* <p>
|
* 出库记录表
|
* </p>
|
*
|
* @author 芯导软件(江苏)有限公司
|
* @since 2026-01-21 05:27:04
|
*/
|
@Getter
|
@Setter
|
@TableName("stock_out_record")
|
@Schema(name = "StockOutRecord对象", description = "出库记录表")
|
public class StockOutRecord implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
@Schema(description = "入库批次")
|
private String outboundBatches;
|
|
@Schema(description = "批号")
|
private String batchNo;
|
|
@Schema(description = "入库数量")
|
private BigDecimal stockOutNum;
|
|
@Schema(description = "入库来源id")
|
private Long recordId;
|
|
@Schema(description = "入库类型")
|
private String recordType;
|
|
@Schema(description = "产品规格id")
|
private Long productModelId;
|
|
@Schema(description = "备注")
|
private String remark;
|
|
@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;
|
|
@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;
|
|
@Schema(description = "创建人")
|
@TableField(fill = FieldFill.INSERT)
|
private Integer createUser;
|
|
@Schema(description = "更新人")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Integer updateUser;
|
|
@Schema(description = "类型 0合格入库 1不合格入库")
|
private String type;
|
|
@Schema(description = "审批状态 0-待审批 1-通过 2-驳回", implementation = ReviewStatusEnum.class)
|
private Integer approvalStatus;
|
|
@TableField(fill = FieldFill.INSERT)
|
private Long deptId;
|
}
|