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.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.math.BigDecimal;
import java.util.Date;

/**
 * @Description: app_scene_cost_hour_rate
 * @Author: jeecg-boot
 * @Date: 2024-08-02
 * @Version: V1.0
 */
@Data
@TableName("app_scene_cost_hour_rate")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "app_scene_cost_hour_rate对象", description = "app_scene_cost_hour_rate")
public class AppSceneCostHourRate implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 年度
     */
    @Excel(name = "年度", width = 15)
    @ApiModelProperty(value = "年度")
    private String year;
    /**
     * 成本中心代码
     */
    @Excel(name = "成本中心代码", width = 15)
    @ApiModelProperty(value = "成本中心代码")
    private String costCenterCode;
    /**
     * 工厂代码
     */
    @Excel(name = "工厂代码", width = 15)
    @ApiModelProperty(value = "工厂代码")
    private String factory;
    /**
     * 人工小时费率
     */
    @Excel(name = "人工小时费率", width = 15)
    @ApiModelProperty(value = "人工小时费率")
    private BigDecimal laborHourRate;
    /**
     * 设备小时费率
     */
    @Excel(name = "设备小时费率", width = 15)
    @ApiModelProperty(value = "设备小时费率")
    private BigDecimal equipHourRate;
    /**
     * 燃动小时费率
     */
    @Excel(name = "燃动小时费率", width = 15)
    @ApiModelProperty(value = "燃动小时费率")
    private BigDecimal fuelHourRate;
    /**
     * 辅料小时费率
     */
    @Excel(name = "辅料小时费率", width = 15)
    @ApiModelProperty(value = "辅料小时费率")
    private BigDecimal auxiliaryHourRate;
    /**
     * 其他小时费率
     */
    @Excel(name = "其他小时费率", width = 15)
    @ApiModelProperty(value = "其他小时费率")
    private BigDecimal otherHourRate;
    /**
     * 生效日期
     */
    @Excel(name = "生效日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "生效日期")
    private Date effectiveDate;
    /**
     * 失效日期
     */
    @Excel(name = "失效日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "失效日期")
    private Date expirationDate;
    /**
     * 维护人员
     */
    @Excel(name = "维护人员", width = 15)
    @ApiModelProperty(value = "维护人员")
    private String guardian;
    /**
     * 维护时间
     */
    @Excel(name = "维护时间", width = 15)
    @ApiModelProperty(value = "维护时间")
    private String maintenanceTime;
}
