package com.clx.performance.vo.pc.vehiclewarn;

import com.clx.performance.enums.vehiclewarn.VehicleWarnRangEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
* @Author: aiqinguo
* @Description: 预警范围
* @Date: 2024/06/04 18:49:39
* @Version: 1.0
*/

@Getter
@Setter
@NoArgsConstructor
public class VehicleWarnRangDTO {

    @ApiModelProperty(value = "id", example = "1")
    private Integer id;
    @ApiModelProperty(value = "预警配置id", example = "1")
    private Integer warnConfigId;
    @ApiModelProperty(value = "预警名称", example = "运单预警")
    private String warnName;
    @ApiModelProperty(value = "预警屏蔽范围：1运单 2货单 3全部", example = "1")
    private Integer warnRang;
    @ApiModelProperty(value = "预警屏蔽范围：1运单 2货单 3全部", example = "1")
    private String warnRangMsg;
    public String getWarnRangMsg() {
        return VehicleWarnRangEnum.WarnRange.getMsgByCode(warnRang);
    }
    @ApiModelProperty(value = "货单编号", example = "10000")
    private String orderGoodsNo;
    @ApiModelProperty(value = "运单编号", example = "10001")
    private String childNo;
    @ApiModelProperty(value = "预警屏蔽结束时间", example = "")
    private String warnEndTime;
    @ApiModelProperty(value = "状态：1有效 2无效", example = "")
    private Integer status;
    @ApiModelProperty(value = "创建人", example = "")
    private String createBy;
    @ApiModelProperty(value = "创建时间", example = "")
    private String createTime;
    @ApiModelProperty(value = "操作时间", example = "")
    private String modifiedTime;

}