package com.bonus.material.task.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

/**
 * 定期库存分析对象 tm_task_storage_analyze
 * 
 * @author xsheng
 * @date 2024-10-16
 */


@Data
@ToString
public class TmTaskStorageAnalyze extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 计算日期 */
    @ApiModelProperty(value = "计算日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计算日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date calDate;

    /** 类型id */
    @Excel(name = "类型id")
    @ApiModelProperty(value = "类型id")
    private Long typeId;

    /** 上期库存量 */
    @Excel(name = "上期库存量")
    @ApiModelProperty(value = "上期库存量")
    private Long preStorageNum;

    /** 入库汇总 */
    @Excel(name = "入库汇总")
    @ApiModelProperty(value = "入库汇总")
    private Long inputSum;

    /** 出库汇总 */
    @Excel(name = "出库汇总")
    @ApiModelProperty(value = "出库汇总")
    private Long outputSum;

    /** 本期库存量 */
    @Excel(name = "本期库存量")
    @ApiModelProperty(value = "本期库存量")
    private Long currentStroageNum;

    /** 库存差额(上期库存+入库-出库-本期库存) */
    @Excel(name = "库存差额(上期库存+入库-出库-本期库存)")
    @ApiModelProperty(value = "库存差额(上期库存+入库-出库-本期库存)")
    private Long storageNumDiff;


}
