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

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 标准成本
 * @Author: wangqiong
 * @Date:   2024-06-13
 * @Version: V1.0
 */
@Data
@TableName("cost_standard")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="cost_standard对象", description="cost_standard")
public class CostStandard implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**物料号*/
	@Excel(name = "物料号", width = 15)
    @ApiModelProperty(value = "物料号")
    private String materialNumber;

    /**版本号ID*/
    @Excel(name = "版本号ID", width = 15)
    @ApiModelProperty(value = "版本号ID")
    private String versionNumberId;

	/**bom材料费*/
	@Excel(name = "bom材料费", width = 15)
    @ApiModelProperty(value = "bom材料费")
    private BigDecimal bomCost;
	/**包装费*/
	@Excel(name = "包装费", width = 15)
    @ApiModelProperty(value = "包装费")
    private BigDecimal packingCost;
	/**辅料费*/
	@Excel(name = "辅料费", width = 15)
    @ApiModelProperty(value = "辅料费")
    private BigDecimal auxiliaryCost;
	/**人工费*/
	@Excel(name = "人工费", width = 15)
    @ApiModelProperty(value = "人工费")
    private BigDecimal laborCost;
	/**机器折旧费*/
	@Excel(name = "机器折旧费", width = 15)
    @ApiModelProperty(value = "机器折旧费")
    private BigDecimal euipDepreciationCost;
	/**机物料消耗费*/
	@Excel(name = "机物料消耗费", width = 15)
    @ApiModelProperty(value = "机物料消耗费")
    private BigDecimal equipConsumeCost;
	/**水电费*/
	@Excel(name = "水电费", width = 15)
    @ApiModelProperty(value = "水电费")
    private BigDecimal hydroelectricityCost;
	/**其他制造费*/
	@Excel(name = "其他制造费", width = 15)
    @ApiModelProperty(value = "其他制造费")
    private BigDecimal otherCost;
	/**物流费*/
	@Excel(name = "物流费", width = 15)
    @ApiModelProperty(value = "物流费")
    private BigDecimal trailCost;
	/**制造成本*/
	@Excel(name = "制造成本", width = 15)
    @ApiModelProperty(value = "制造成本")
    private BigDecimal manufactureCost;
	/**工装费*/
	@Excel(name = "工装费", width = 15)
    @ApiModelProperty(value = "工装费")
    private BigDecimal toolingCost;
	/**检具费*/
	@Excel(name = "检具费", width = 15)
    @ApiModelProperty(value = "检具费")
    private BigDecimal inspectionCost;
	/**模具费*/
	@Excel(name = "模具费", width = 15)
    @ApiModelProperty(value = "模具费")
    private BigDecimal moldCost;
	/**测试费*/
	@Excel(name = "测试费", width = 15)
    @ApiModelProperty(value = "测试费")
    private BigDecimal testCost;
	/**总成本*/
	@Excel(name = "总成本", width = 15)
    @ApiModelProperty(value = "总成本")
    private BigDecimal totalCost;
    /**创建人*/
    @Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private String 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;
    /**修改人*/
    @Excel(name = "修改人", width = 15)
    @ApiModelProperty(value = "修改人")
    private String updateBy;
	/**修改日期*/
	@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 Date updateTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
}
