package org.dromara.personnel.domain.vo;

import org.dromara.personnel.domain.OpsChurukudan;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 运维-物资-出入库单管理视图对象 ops_churukudan
 *
 * @author LionLi
 * @date 2025-09-24
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = OpsChurukudan.class)
public class OpsChurukudanVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 单据编号
     */
    @ExcelProperty(value = "单据编号")
    private String danjvNumber;

    /**
     * 产品id
     */
    private Long chanpinId;
    /**
     * 产品名称
     */
    private String chanpinName;

    /**
     * 经手人id
     */
    @ExcelProperty(value = "经手人id")
    private Long jingshourenId;

    /**
     * 经手人
     */
    @ExcelProperty(value = "经手人")
    private String jingshourenName;

    /**
     * 联系电话
     */
    @ExcelProperty(value = "联系电话")
    private String contactNumber;

    /**
     * 总数量
     */
    @ExcelProperty(value = "总数量")
    private Long zonNumber;

    /**
     * 审核状态
     */
    @ExcelProperty(value = "审核状态")
    private String shenheStatus;

    /**
     * 单据状态（1、出库单，2入库单）
     */
    @ExcelProperty(value = "单据状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=、出库单，2入库单")
    private String danjvType;

    private Date updateTime;


}
