package com.jsh.erp.datasource.pda.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 盘点任务明细
 */
@Data
@Accessors(chain = true)
public class PDATaskStocktakingItemVO {

    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("库位")
    private String position;

    @ApiModelProperty("商品总类")
    private String categoryName;

    @ApiModelProperty("商品ID")
    private Long materialItemId;

    @ApiModelProperty("商品名称")
    private String materialName;

    @ApiModelProperty("商品规格")
    private String standard;

    @ApiModelProperty("盘点人名称")
    private String createName;

    @ApiModelProperty("盘点时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date operTime;

    @ApiModelProperty("库存数")
    private Integer inventory;

    @ApiModelProperty("商品单位")
    private String commodityUnit;

    @ApiModelProperty("盘点库存数")
    private Integer newInventory;

    @ApiModelProperty("盘点状态：1.未盘，2.盘盈，3.盘亏 4.无差异 其余为全部")
    private Integer status;

    @ApiModelProperty("图片地址")
    private String imgName;

}
