package cn.wisenergy.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * @description: 项目的工时和工时成本统计
 * @author: nh
 * @create: 2021-01-22 11:57
 **/
@Data
@ApiModel(value = "WorkTimeAndCostCollect", description = "项目的工时和工时成本统计")
public class WorkTimeAndCostCollect implements Serializable {
    private static final long serialVersionUID = 7207732278277982917L;

    /**
     * 类型：项目/商机
     */
    @ApiModelProperty(name = "type", value = "类型：商机/项目")
    private String type;

    /**
     * 部门名称
     */
    @ApiModelProperty(name = "deptName", value = "部门名称")
    private String deptName;

    /**
     * 部门主键
     */
    @ApiModelProperty(name = "deptId", value = "部门主键")
    private Integer deptId;

    /**
     * 项目名称
     */
    @ApiModelProperty(name = "projectName", value = "项目名称")
    private String projectName;

    /**
     * 开始统计日期
     */
    @ApiModelProperty(name = "firstTime", value = "开始统计的日期")
    private String firstTime;

    /**
     *最后统计日期
     */
    @ApiModelProperty(name = "lastTime", value = "最后统计的日期")
    private String lastTime;

    /**
     * 工时总计：人/天
     */
    @ApiModelProperty(name = "totalTime", value = "工时总计")
    private BigDecimal totalTime;

    /**
     * 工时成本
     */
    @ApiModelProperty(name = "cost", value = "工时成本")
    private Integer cost;

}
