package org.jeecg.modules.spare.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.jeecg.common.aspect.annotation.Dict;
|
import org.jeecg.common.constant.CommonConstant;
|
import org.jeecg.common.system.base.entity.JeecgEntity;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* @Description: 备件退库详情
|
* @Author: jeecg-boot
|
* @Date: 2023-07-04
|
* @Version: V1.0
|
*/
|
@Data
|
@TableName("mom_eam_spare_part_cancelling_stocks_detail")
|
@ApiModel(value = "mom_eam_spare_part_cancelling_stocks_detail对象", description = "备件退库详情")
|
public class SparePartCancellingStocksDetail extends JeecgEntity implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
|
/**
|
* 出库单编号
|
*/
|
@TableField(exist = false)
|
private String sparePartPurchaseStorageNum;
|
|
|
/**
|
* 备件退库id
|
*/
|
@ApiModelProperty(value = "备件退库id")
|
private String sparePartCancellingId;
|
/**
|
* 备件id
|
*/
|
@Excel(name = "备件id", width = 15)
|
@ApiModelProperty(value = "备件id")
|
private String sparePartId;
|
/**
|
* 备件库存id
|
*/
|
@Excel(name = "备件库存id", width = 15)
|
@ApiModelProperty(value = "备件库存id")
|
private String sparePartInventoryId;
|
/**
|
* 批次号
|
*/
|
@Excel(name = "批次号", width = 15)
|
@ApiModelProperty(value = "批次号")
|
private String batchNum;
|
/**
|
* 出厂日期
|
*/
|
@Excel(name = "出厂日期", width = 15, format = "yyyy-MM-dd")
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@ApiModelProperty(value = "出厂日期")
|
private Date manufactureDate;
|
/**
|
* 供应商
|
*/
|
@Excel(name = "供应商", width = 15)
|
@ApiModelProperty(value = "供应商")
|
@Dict(dictTable = "mom_base_supplier", dicCode = "id", dicText = "name")
|
private String supplierId;
|
/**
|
* 主单位
|
*/
|
@Excel(name = "主单位", width = 15)
|
@ApiModelProperty(value = "主单位")
|
@Dict(dictTable = "mom_base_unit", dicCode = "id", dicText = "name")
|
private String mainUnitId;
|
/**
|
* 主数量
|
*/
|
@Excel(name = "主数量", width = 15)
|
@ApiModelProperty(value = "主数量")
|
private Double mainQuantity;
|
/**
|
* 辅单位
|
*/
|
@Excel(name = "辅单位", width = 15)
|
@ApiModelProperty(value = "辅单位")
|
@Dict(dictTable = "mom_base_unit", dicCode = "id", dicText = "name")
|
private String auxiliaryUnitId;
|
/**
|
* 辅数量
|
*/
|
@Excel(name = "辅数量", width = 15)
|
@ApiModelProperty(value = "辅数量")
|
private Double auxiliaryQuantity;
|
|
/**删除状态(0-正常,1-已删除)*/
|
@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
|
@ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
|
private Integer delFlag = CommonConstant.DEL_FLAG_0;
|
|
/**
|
* 库位
|
*/
|
@Excel(name = "库位", width = 15)
|
@ApiModelProperty(value = "库位")
|
@Dict(dictTable = "mom_base_warehouse_location", dicCode = "id", dicText = "num")
|
private String warehouseLocationId;
|
|
/**
|
* 库区
|
*/
|
@Excel(name = "库区", width = 15)
|
@ApiModelProperty(value = "库区")
|
@Dict(dictTable = "mom_base_warehouse_area", dicCode = "id", dicText = "num")
|
private String warehouseAreaId;
|
|
/**状态(0未出库,1已出库)*/
|
@Excel(name = "状态(0未出库,1已出库)", width = 15)
|
@ApiModelProperty(value = "状态(0未出库,1已出库)")
|
private String status;
|
|
/**
|
* 出库数量
|
*/
|
@Excel(name = "出库数量", width = 15)
|
@ApiModelProperty(value = "出库数量")
|
private Double outboundMainQuantity;
|
|
|
}
|