All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.blade.kit.json.SerializeMapping Maven / Gradle / Ivy

package com.blade.kit.json;

import lombok.Builder;
import lombok.Data;

/**
 * @author biezhi
 * @date 2017/9/12
 */
@Data
@Builder
public class SerializeMapping {

    @Builder.Default
    private String datePatten     = "yyyy-MM-dd";
    @Builder.Default
    private int    bigDecimalKeep = 2;

    private static final SerializeMapping instance = SerializeMapping.builder().build();

    public static SerializeMapping defaultMapping() {
        return instance;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy