package com.jwipc.order.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jwipc.aggregation.annotation.RelationAggregationField;
import com.jwipc.sys.client.FileClient;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * PCN文件表
 * </p>
 *
 * @author zx
 * @since 2024-03-20
 */
@Data
public class PcnChangeFileDTO {


    /**
     * 变更清单id
     */
    private Long id;

    /**
     * 文件类型
     */
    private String fileType;

    private Long applyListId;

    /**
     * 文件id
     */
    private Long fileId;

    @RelationAggregationField(masterIdField = "fileId", relationIdField = "id", relationNameField = "fileName",
            relationClientClass = FileClient.class, relationMethod = "getFileInfos")
    private String fileName;

}
