package com.zzsmart.qomo.kn.cost.manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: app_scene_cost_result_value
 * @Author: jeecg-boot
 * @Date: 2024-07-25
 * @Version: V1.0
 */
@Data
@Builder
@TableName("app_scene_cost_result_value")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "app_scene_cost_result_value对象", description = "app_scene_cost_result_value")
public class AppSceneCostResultValue implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private Integer id;
    /**
     * 所属最上级物料号
     */
    @Excel(name = "所属最上级物料号", width = 15)
    @ApiModelProperty(value = "所属最上级物料号")
    private String belongTopMaterialNo;
    /**
     * 物料编号
     */
    @Excel(name = "物料编号", width = 15)
    @ApiModelProperty(value = "物料编号")
    private String marterialNo;
    /**
     * 父类物料编号
     */
    @Excel(name = "父类物料编号", width = 15)
    @ApiModelProperty(value = "父类物料编号")
    private String parentMarterialNo;
    /**
     * 数量
     */
    @Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private Integer num;
    /**
     * 单位
     */
    @Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    private String unit;
    /**
     * 任务类型
     */
    @Excel(name = "任务类型", width = 15)
    @ApiModelProperty(value = "任务类型")
    private String taskType;
    /**
     * 任务代码
     */
    @Excel(name = "任务代码", width = 15)
    @ApiModelProperty(value = "任务代码")
    private String taskCode;
    /**
     * 流程id
     */
    @Excel(name = "流程id", width = 15)
    @ApiModelProperty(value = "流程id")
    private String flowInstanceId;
    /**
     * 本阶成本
     */
    @Excel(name = "本阶成本", width = 15)
    @ApiModelProperty(value = "本阶成本")
    private String countValue;
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private Integer createBy;
    /**
     * 总计成本
     */
    @Excel(name = "总计成本", width = 15)
    @ApiModelProperty(value = "总计成本")
    private String totalValue;
    /**
     * 成本类别
     */
    @Excel(name = "成本类别", width = 15)
    @ApiModelProperty(value = "成本类别")
    private String costType;
}
