package com.jeeplus.psimanage.foodPurchase.service.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.psimanage.foodPurchase.domain.PsiFoodPurchaseDetail;
import com.jeeplus.psimanage.oss.service.dto.WorkAttachmentDto;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class PsiFoodPurchaseDto {

    public static final String BIZ_CODE = "154";

    private String id;

    private String createBy;

    private String remarks;

    private String purchaseNo;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date purchaseTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String[] purchaseTimes;

    private BigDecimal totalPrice;

    private String handledBy;

    private String handledById;

    private String handledByName;

    private String handledByOffice;

    private String handledByOfficeName;

    private String procInsId;

    private String status;

    private String processDefinitionId;

    private String sourceBasicId;

    private String changeId;

    private String formalStatus;

    private String changeStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date changePurchaseTime;

    private BigDecimal changeTotalPrice;

    private List<PsiFoodPurchaseDetail> detailInfos;

    private List<WorkAttachmentDto> files;

    private String taskId;

    private List<String> auditUserIds;
}
