package com.clx.performance.vo.pc;

import com.clx.performance.enums.CarrierExceptionLogEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class OrderChildExceptionReportOperationLogVO {


    @Schema(description = "id")
    private Integer id;                             //id
    @Schema(description = "异常上报编号")
    private String reportNo;                         //运单编号
    @Schema(description = "操作事项编码")
    private Integer type;

    @Schema(description = "操作事项")
    private String typeMsg;

    @Schema(description = "操作事项")
    public String getTypeMsg(){
        return CarrierExceptionLogEnum.Type.getMsgByCode(type);
    }
    //操作事项编码
    @Schema(description = "处理结果")
    private String result;                          //处理结果
    @Schema(description = "操作人名称")
    private String createName;                      //操作人名称
    @Schema(description = "创建时间")
    private String createTime;                      //创建时间

}