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 org.apache.poi.ss.usermodel.IndexedColors;

import java.util.Date;



/**
 * 包活派工单视图对象 pay_work_order_baohuo
 *
 * @author ruoyi
 * @date 2025-05-12
 */
@Data
@ExcelIgnoreUnannotated
public class PayWorkOrderBaohuoVo {

    private static final long serialVersionUID = 1L;

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

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

    /**
     * 归档ID
     */
   // @ExcelProperty(value = "归档ID")
    private String archiveId;

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

    /**
     * 部门ID
     */
   // @ExcelProperty(value = "部门ID")
    private Long deptId;

    /**
     * 车间
     */
    @ExcelProperty(value = "车间")
    private String workshop;

    /**
     * 包活工单名称
     */
    @ExcelProperty(value = "包活工单名称")
    private String name;

    /**
     * 工作内容
     */
    @ExcelProperty(value = "工作内容")
    private String content;

    /**
     * 加工数量
     */
    @ExcelProperty(value = "加工数量")
    private BigDecimal productNum;

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

    /**
     * 单位
     */
    @ExcelProperty(value = "单位")
    private String unit;

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

    /** 平均工资 */
    @ExcelProperty(value = "每人包活工资")
    private BigDecimal avgAmount;

    @ExcelProperty(value = "工作人数")
    private Integer workerNum;

    @ExcelProperty(value = "包活工时")
    private BigDecimal workTime;

    @ExcelProperty(value = "员工姓名")
    private String worksName;

    /**
     * 开始时间
     */
    @ExcelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    /**
     * 结束时间
     */
    @ExcelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

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

    /**
     * 检验说明
     */
    @ExcelProperty(value = "检验说明")
    private String qualityRemark;

    /**
     * 入库时间
     */
    @ExcelProperty(value = "入库时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date instorageTime;

    /**
     * 入库人员
     */
    @ExcelProperty(value = "入库人员")
    private String instorageName;

    /**
     * 实际入库数量
     */
    @ExcelProperty(value = "实际入库数量")
    private Long instorageNum;

    /**
     * 项目经理
     */
    @ExcelProperty(value = "项目经理")
    private String managerName;

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

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


}
