package com.ruoyi.pay.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 工单信息视图对象 pay_work_order_info
 *
 * @author ruoyi
 * @date 2025-05-12
 */
@Data
@ExcelIgnoreUnannotated
public class PayWorkOrderInfoVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 租户id
     */
    @ExcelProperty(value = "租户id")
    private Long tenantId;

    /**
     * 产品id
     */
    @ExcelProperty(value = "产品id")
    private Long productId;

    /**
     * 工单所属部门id
     */
    @ExcelProperty(value = "工单所属部门id")
    private Long deptId;

    /**
     * 件数
     */
    @ExcelProperty(value = "件数")
    private Long numbers;

    /**
     * 单价
     */
    @ExcelProperty(value = "单价")
    private BigDecimal price;

    /**
     * 派单人
     */
    @ExcelProperty(value = "派单人")
    private String bookPerson;

    /**
     * 质检人
     */
    @ExcelProperty(value = "质检人")
    private String qualityPerson;

    /**
     * 工单总金额
     */
    @ExcelProperty(value = "工单总金额")
    private BigDecimal totalAmount;

    /**
     * 工单完成日期
     */
    @ExcelProperty(value = "工单完成日期")
    private Date completeTime;

    /**
     * 工单完成状态（0未完成 1完成）
     */
    @ExcelProperty(value = "工单完成状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=未完成,1=完成")
    private String state;

    /**
     * 包活总工时
     */
    @ExcelProperty(value = "包活总工时")
    private BigDecimal baohuoHours;

    /**
     * 删除标志（1:删除 0:未删除）
     */
    @ExcelProperty(value = "删除标志", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=:删除,0=:未删除")
    private Integer deleted;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
