package com.ruoyi.business.entity;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
/**
|
* 库存汇总表 实体类
|
*
|
* @author chenhj
|
* @date 2025-06-14
|
*/
|
@Data
|
@TableName("inventory_summary")
|
public class InventorySummary implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键ID
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
/**
|
* 库id
|
*/
|
@TableField(value = "inventory_id")
|
private Long inventoryId;
|
/**
|
* 库类型
|
*/
|
@TableField(value = "inventory_type")
|
private String inventoryType;
|
/**
|
* 库存数量
|
*/
|
@TableField(value = "inventory_quantity")
|
private BigDecimal inventoryQuantity;
|
/**
|
* 入库中止明细记录id
|
*/
|
@TableField(value = "input_end_record_id")
|
private Long inputEndRecordId;
|
/**
|
* 出库中止明细记录id
|
*/
|
@TableField(value = "output_end_record_id")
|
private Long outputEndRecordId;
|
|
/**
|
* 逻辑删除字段
|
*/
|
@TableLogic
|
private Integer deleted;
|
|
/**
|
* 创建时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@TableField(fill = FieldFill.INSERT, updateStrategy = FieldStrategy.NEVER)
|
private LocalDateTime createTime;
|
|
/**
|
* 更新时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private LocalDateTime updateTime;
|
}
|