package org.dromara.eims.domain.vo;
|
|
import java.util.Date;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
import com.alibaba.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 org.dromara.common.translation.annotation.Translation;
|
import org.dromara.common.translation.constant.TransConstant;
|
import org.dromara.eims.domain.EimsInventory;
|
|
import java.io.Serial;
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.List;
|
|
|
/**
|
* 盘点视图对象 eims_inventory
|
*
|
* @author zhuguifei
|
* @date 2025-01-16
|
*/
|
@Data
|
@ExcelIgnoreUnannotated
|
@AutoMapper(target = EimsInventory.class)
|
public class EimsInventoryVo implements Serializable {
|
|
@Serial
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 盘点id
|
*/
|
@ExcelProperty(value = "盘点id")
|
private Long inventoryId;
|
|
/**
|
* 盘点单号
|
*/
|
@ExcelProperty(value = "盘点单号")
|
private String inventoryCode;
|
|
/**
|
* 盘点名称
|
*/
|
@ExcelProperty(value = "盘点名称")
|
private String inventoryName;
|
/**
|
* 盘点范围-设备类型(设备类型id-逗号隔开)
|
*/
|
@ExcelProperty(value = "盘点范围-设备类型")
|
private String equTypes;
|
/**
|
* 盘点范围-设备状态(设备状态-字典)
|
*/
|
@ExcelProperty(value = "盘点范围-设备状态")
|
private String equStatus;
|
/**
|
* 盘点范围-设备类型(设备类型id-逗号隔开)
|
*/
|
private List<Long> equTypesList;
|
/**
|
* 盘点范围-设备状态(设备状态-字典)
|
*/
|
private List<String> equStatusList;
|
|
/**
|
* 盘点人
|
*/
|
private Long inventoryUser;
|
|
@ExcelProperty(value = "盘点人")
|
@Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "inventoryUser")
|
private String inventoryUserName;
|
|
/**
|
* 盘点人部门
|
*/
|
@ExcelProperty(value = "盘点人部门")
|
private Long userDept;
|
|
/**
|
* 开始日期
|
*/
|
@ExcelProperty(value = "开始日期")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private Date startDate;
|
|
/**
|
* 结束日期
|
*/
|
@ExcelProperty(value = "结束日期")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private Date endDate;
|
|
/**
|
* 盘点状态
|
*/
|
@ExcelProperty(value = "盘点状态")
|
private String status;
|
|
/**
|
* 备注
|
*/
|
@ExcelProperty(value = "备注")
|
private String remark;
|
|
|
}
|