renkang
2025-01-13 1ad2f74f3c8c6872d57c285809d2384bd3946aa3
server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/YwOutinbound.java
@@ -1,6 +1,8 @@
package com.doumee.dao.business.model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.doumee.core.annotation.excel.ExcelColumn;
import com.doumee.core.model.LoginUserModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
@@ -10,6 +12,7 @@
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;
/**
 * 运维出入库信息表
@@ -19,7 +22,7 @@
@Data
@ApiModel("运维出入库信息表")
@TableName("`yw_outinbound`")
public class YwOutinbound {
public class YwOutinbound extends LoginUserModel {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键", example = "1")
@@ -54,7 +57,7 @@
    @ApiModelProperty(value = "仓库编码(关联yw_warehouse)")
    @ExcelColumn(name="仓库编码(关联yw_warehouse)")
    private String warehouseId;
    private Integer warehouseId;
    @ApiModelProperty(value = "物资编码(关联yw_material)", example = "1")
    @ExcelColumn(name="物资编码(关联yw_material)")
@@ -64,8 +67,8 @@
    @ExcelColumn(name="数量")
    private BigDecimal stock;
    @ApiModelProperty(value = "类型 0采购入库 1领用退回 2库存调整 3其他入库 4盘盈入库 5领用出库 6仓库出库 7调整出库 8采购出库 9其他出库 10盘亏出库", example = "1")
    @ExcelColumn(name="类型 0采购入库 1领用退回 2库存调整 3其他入库 4盘盈入库 5领用出库 6仓库出库 7调整出库 8采购出库 9其他出库 10盘亏出库")
    @ApiModelProperty(value = "类型 0采购入库 1领用退回 2调整入库 3其他入库 4盘盈入库 5领用出库 6仓库出库 7调整出库 8采购出库 9其他出库 10盘亏出库", example = "1")
    @ExcelColumn(name="类型 0采购入库 1领用退回 2调整入库 3其他入库 4盘盈入库 5领用出库 6仓库出库 7调整出库 8采购出库 9其他出库 10盘亏出库")
    private Integer type;
    @ApiModelProperty(value = "来源 0手动录入 1系统生成", example = "1")
@@ -85,4 +88,24 @@
    @ExcelColumn(name="状态 0正常")
    private Integer status;
    @ApiModelProperty(value = "单据编号")
    @ExcelColumn(name="单据编号")
    private String code;
    @ApiModelProperty(value = "出入库数据明细", example = "1")
    @TableField(exist = false)
    private List<YwOutinboundRecord> recordList;
    @ApiModelProperty(value = "操作类型:1=出库;0=入库(分页列表查询使用)", example = "1")
    @TableField(exist = false)
    private Integer inOut;
    @ApiModelProperty(value = "仓库名称", example = "1")
    @TableField(exist = false)
    private String warehouseName;
    @ApiModelProperty(value = "操作人名称", example = "1")
    @TableField(exist = false)
    private String createUserName;
}