package com.bonus.material.repair.domain;

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

import java.math.BigDecimal;

/**
 * @author syruan
 */
@Data
@ApiModel(value="维修配件")
public class RepairPart {
    /**
     * 任务ID
     */
    @ApiModelProperty(value = "任务ID")
    private String taskId;
    /**
     * 机具ID
     */
    @ApiModelProperty(value = "机具ID")
    private String maId;
    /**
     * 规格ID
     */
    @ApiModelProperty(value = "规格ID")
    private String typeId;
    /**
     * 配件ID
     */
    @ApiModelProperty(value = "配件ID")
    private Long partId;
    /**
     * 配件名称
     */
    @ApiModelProperty(value = "配件名称")
    private String partName;
    /**
     * 返厂id
     */
    @ApiModelProperty(value = "返厂id")
    private String supplierId;
    /**
     * 配件数量
     */
    @ApiModelProperty(value = "配件数量")
    private int partNum;
    /**
     * 配件费用
     */
    @ApiModelProperty(value = "配件费用")
    private BigDecimal partCost;
    /**
     * 配件单价
     */
    @ApiModelProperty(value = "配件单价")
    private BigDecimal partPrice;
    /**
     * 类型（0不收费，1收费）
     */
    @ApiModelProperty(value = "类型（0不收费，1收费）")
    private String partType;
    /**
     * 创建者
     */
    @ApiModelProperty(value = "创建者")
    private Long createBy;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private String createTime;
    /**
     * 更新者
     */
    @ApiModelProperty(value = "更新者")
    private String updateBy;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private String updateTime;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 维修内容
     */
    @ApiModelProperty(value = "维修内容")
    private String repairContent;

    private Long companyId;

    private Long repairer;

    @ApiModelProperty(value = "维修数量")
    private int repairNum;
}
