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 javax.persistence.Column;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


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

    /**主键*/
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private java.lang.Long id;
    /**会计期间*/
    @Excel(name = "会计期间", width = 15)
    @ApiModelProperty(value = "会计期间")
    private java.lang.String ymonth;
    /**版本号*/
    @Excel(name = "版本号", width = 15)
    @ApiModelProperty(value = "版本号")
    private java.lang.String versionNumber;
    /**阶段*/
    @Excel(name = "阶段", width = 15)
    @ApiModelProperty(value = "阶段")
    private java.lang.String stage;
    /**工厂*/
    @Excel(name = "工厂", width = 15)
    @ApiModelProperty(value = "工厂")
    private java.lang.String factory;
    /**父物料号*/
    @Excel(name = "父物料号", width = 15)
    @ApiModelProperty(value = "父物料号")
    private java.lang.String parentMatnr;
    /**低阶码*/
    @Excel(name = "层级", width = 15)
    @ApiModelProperty(value = "层级")
    private java.lang.String lowOrderCode;
    /**层级*/
    @Excel(name = "展开层", width = 15)
    @ApiModelProperty(value = "展开层")
    private java.lang.String layer;
    /**层级*/
    //@Excel(name = "展开层", width = 15)
    @ApiModelProperty(value = "父展开层")
    private java.lang.String player;
    /**物料号*/
    @Excel(name = "子物料号", width = 15)
    @ApiModelProperty(value = "子物料号")
    private java.lang.String materialNumber;
    /**物料描述*/
    @Excel(name = "物料描述", width = 20)
    @ApiModelProperty(value = "子物料描述")
    private java.lang.String maktx;
    /**数量*/
    @Excel(name = "数量", width = 15,type = 4)
    @ApiModelProperty(value = "数量")
    private java.math.BigDecimal menge;
    /**数量*/
    @Excel(name = "采购类型", width = 15)
    @ApiModelProperty(value = "采购类型")
    private java.lang.String manuType;
    /**本阶设备成本*/
    @Excel(name = "机器工时", width = 15,type = 4)
    @ApiModelProperty(value = "机器工时")
    private java.math.BigDecimal equipHour;
    /**本阶人工成本*/
    @Excel(name = "人工工时", width = 15,type = 4)
    @ApiModelProperty(value = "人工工时")
    private java.math.BigDecimal laborHour;
    /**本阶燃动成本*/
    @Excel(name = "燃动力工时", width = 15,type = 4)
    @ApiModelProperty(value = "燃动力工时")
    private java.math.BigDecimal fuelHour;
    /**本阶辅料成本*/
    @Excel(name = "辅料工时", width = 15,type = 4)
    @ApiModelProperty(value = "辅料工时")
    private java.math.BigDecimal auxiHour;
    /**本阶其他成本*/
    @Excel(name = "其他制费工时", width = 15,type = 4)
    @ApiModelProperty(value = "其他制费工时")
    private java.math.BigDecimal otherHour;


    /**总其他成本*/
    @Excel(name = "供应商", width = 20)
    @ApiModelProperty(value = "供应商")
    private String supplier;
    /**总其他成本*/
    @Excel(name = "供应商描述", width = 20)
    @ApiModelProperty(value = "供应商描述")
    private String supplierName;
    /**总其他成本*/
    @Excel(name = "采购信息记录", width = 15,type = 4)
    @ApiModelProperty(value = "采购信息记录")
    private java.math.BigDecimal purchasePrice;
    /**总其他成本*/
    @Excel(name = "正式合同价格", width = 20,type = 4)
    @ApiModelProperty(value = "正式合同价格")
    private java.math.BigDecimal contractPrice;
    /**总其他成本*/
    @Excel(name = "临时合同估价", width = 20,type = 4)
    @ApiModelProperty(value = "临时合同估价")
    private java.math.BigDecimal tempContractPrice;
    /**总其他成本*/
    @Excel(name = "单位材料成本", width = 20,type = 4)
    @ApiModelProperty(value = "采购价格（合计）")
    private java.math.BigDecimal materialCost;
    /**总人工成本*/
    @Excel(name = "单位人工", width = 15,type = 4)
    @ApiModelProperty(value = "总人工成本")
    private java.math.BigDecimal laborCost;
    /**总设备成本*/
    @Excel(name = "单位折旧", width = 15,type = 4)
    @ApiModelProperty(value = "总设备成本")
    private java.math.BigDecimal equipCost;
    /**总燃动成本*/
    @Excel(name = "单位燃动力", width = 15,type = 4)
    @ApiModelProperty(value = "总燃动成本")
    private java.math.BigDecimal fuelCost;
    /**总辅料成本*/
    @Excel(name = "单位辅料", width = 15,type = 4)
    @ApiModelProperty(value = "总辅料成本")
    private java.math.BigDecimal auxiliaryCost;
    /**总其他成本*/
    @Excel(name = "单位其他费用", width = 15,type = 4)
    @ApiModelProperty(value = "总其他成本")
    private java.math.BigDecimal otherCost;
    /**总标准成本*/
    @Excel(name = "单位成本", width = 15,type = 4)
    @ApiModelProperty(value = "总标准成本")
    private java.math.BigDecimal standardCost;
    /**本阶设备成本*/
    @Excel(name = "机器工时(累积)", width = 15,type = 4)
    @ApiModelProperty(value = "机器工时(累积)")
    private java.math.BigDecimal equipHourTotal;
    /**本阶人工成本*/
    @Excel(name = "人工工时(累积)", width = 15,type = 4)
    @ApiModelProperty(value = "人工工时(累积)")
    private java.math.BigDecimal laborHourTotal;
    /**本阶燃动成本*/
    @Excel(name = "燃动力工时(累积)", width = 20,type = 4)
    @ApiModelProperty(value = "燃动力工时(累积)")
    private java.math.BigDecimal fuelHourTotal;
    /**本阶辅料成本*/
    @Excel(name = "辅料工时(累积)", width = 15,type = 4)
    @ApiModelProperty(value = "辅料工时(累积)")
    private java.math.BigDecimal auxiHourTotal;
    /**本阶其他成本*/
    @Excel(name = "其他制费工时(累积)", width = 20,type = 4)
    @ApiModelProperty(value = "其他制费工时(累积)")
    private java.math.BigDecimal otherHourTotal;

    @Excel(name = "结构单位材料成本（累积）", width = 15,type = 4)
    @ApiModelProperty(value = "总材料成本")
    private java.math.BigDecimal materialCostTotal;
    /**相对人工成本*/
    @Excel(name = "结构单位人工（累积）", width = 15)
    @ApiModelProperty(value = "相对人工成本")
    private java.math.BigDecimal laborCostTotal;
    /**相对制费成本*/
    @Excel(name = "结构单位折旧（累积）", width = 15)
    @ApiModelProperty(value = "相对制费成本")
    private java.math.BigDecimal equipCostTotal;
    /**相对制费成本*/
    @Excel(name = "结构单位燃动力（累积）", width = 15)
    @ApiModelProperty(value = "相对制费成本")
    private java.math.BigDecimal fuelCostTotal;
    /**相对制费成本*/
    @Excel(name = "结构单位辅料（累积）", width = 15)
    @ApiModelProperty(value = "相对制费成本")
    private java.math.BigDecimal auxiliaryCostTotal;
    /**相对制费成本*/
    @Excel(name = "结构单位其他费用（累积）", width = 15)
    @ApiModelProperty(value = "相对制费成本")
    private java.math.BigDecimal otherCostTotal;
    /**相对制费成本*/
    @Excel(name = "单位总成本（累积）", width = 15)
    @ApiModelProperty(value = "相对制费成本")
    private java.math.BigDecimal totalStandardCost;
//    /**总材料成本*/
//    @Excel(name = "采购价格（合计）", width = 15,type = 4)
//    @ApiModelProperty(value = "总材料成本")
//    private java.math.BigDecimal materialCostTotal;
    /**总其他成本*/
    @Excel(name = "最新开票金额（单价)", width = 20,type = 4)
    @ApiModelProperty(value = "最新开票金额（单价)")
    private java.math.BigDecimal invoicePrice;
    /**总其他成本*/
    @Excel(name = "最新开票价格（合计)", width = 20,type = 4)
    @ApiModelProperty(value = "最新开票价格（合计)")
    private java.math.BigDecimal invoiceTotal;
    /**总其他成本*/
    @Excel(name = "开票金额合计与采购价格合计之差", width = 20,type = 4)
    @ApiModelProperty(value = "开票金额合计与采购价格合计之差")
    private java.math.BigDecimal invoiceDiff;
    /**相对用量*/
//    @Excel(name = "相对用量", width = 15)
//    @ApiModelProperty(value = "相对用量")
//    private java.math.BigDecimal relativeDosage;
//    /**相对材料成本*/
//    @Excel(name = "相对材料成本", width = 15)
//    @ApiModelProperty(value = "相对材料成本")
//    private java.math.BigDecimal materialCostRelative;

    /**相对总成本*/
//    @Excel(name = "相对总成本", width = 15)
//    @ApiModelProperty(value = "相对总成本")
//    private java.math.BigDecimal totalCostRelative;
    /**创建时间*/
    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createdTime;
    /**价格类型*/
    //@Excel(name = "价格类型", width = 15)
    @ApiModelProperty(value = "价格类型")
    private java.lang.String pricetype;



}
