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.*;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

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

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

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;
    /**
     * 物料编号
     */
    @Excel(name = "物料编号", width = 15)
    @ApiModelProperty(value = "物料编号")
    private String materialNo;
    /**
     * 图号
     */
    @Excel(name = "物料描述", width = 15)
    @ApiModelProperty(value = "物料描述")
    private String maktx;
    /**
     * stage
     */
    @Excel(name = "阶段", width = 15)
    @ApiModelProperty(value = "stage")
    private String stage;
    /**
     * 标准成本计算流程id
     */
    @Excel(name = "标准成本计算流程id", width = 15)
    @ApiModelProperty(value = "标准成本计算流程id")
    private Integer flowDefinitionId;
    /**
     * year
     */
    @Excel(name = "年份", width = 15)
    @ApiModelProperty(value = "year")
    private String year;
    /**
     * 状态
     */
    @Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private Integer status;
    /**
     * 模型版本
     */
    @Excel(name = "标准成本版本", width = 15)
    @ApiModelProperty(value = "标准成本版本")
    private String costVersion;
    /**
     * 模型版本
     */
    @Excel(name = "工厂", width = 15)
    @ApiModelProperty(value = "工厂")
    private String werks;
    /**
     * 模型版本
     */
    @Excel(name = "内部订单号", width = 15)
    @ApiModelProperty(value = "内部订单号")
    private String aufnr;
    /**
     * 模型版本
     */
    @Excel(name = "总标准成本", width = 15)
    @ApiModelProperty(value = "总标准成本")
    private BigDecimal standardTotal;
    /**
     * 模型版本
     */
    @Excel(name = "材料成本", width = 15)
    @ApiModelProperty(value = "材料成本")
    private BigDecimal materialCost;
    /**
     * 模型版本
     */
    @Excel(name = "直接人工", width = 15)
    @ApiModelProperty(value = "直接人工")
    private BigDecimal laborCost;
    /**
     * 模型版本
     */
    @Excel(name = "折旧", width = 15)
    @ApiModelProperty(value = "折旧")
    private BigDecimal equipCost;
    /**
     * 模型版本
     */
    @Excel(name = "燃动力", width = 15)
    @ApiModelProperty(value = "燃动力")
    private BigDecimal fuelCost;
    /**
     * 模型版本
     */
    @Excel(name = "辅料", width = 15)
    @ApiModelProperty(value = "辅料")
    private BigDecimal auxiCost;
    /**
     * 模型版本
     */
    @Excel(name = "其他费用", width = 15)
    @ApiModelProperty(value = "其他费用")
    private BigDecimal otherCost;
    /**
     * 模型版本
     */
    @Excel(name = "人工工时（分钟）", width = 15)
    @ApiModelProperty(value = "人工工时（分钟）")
    private BigDecimal laborHour;
    /**
     * 模型版本
     */
    @Excel(name = "机器工时（分钟）", width = 15)
    @ApiModelProperty(value = "机器工时（分钟）")
    private BigDecimal machineHour;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private Integer createBy;
    /**
     * 创建时间
     */
    @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 updateBy;
    /**
     * 更新时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
