package com.sckw.transport.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author lfdc
 * @description 线路分配v4.2
 * @date 2024-03-04 11:03:04
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LineFreightDto implements Serializable {
    /**
     * 线路id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long lineFreightId;

    /**
     * 线路id
     */
//    @JsonSerialize(using = ToStringSerializer.class)
//    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal amount;
}
