/* * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template */ package com.megatim.fdxcommons.model.pojo; import com.megatim.fdxcommons.model.enumeration.TypeDonnee; import java.util.HashMap; import java.util.Map; import lombok.Getter; import lombok.Setter; /** * * @author ASUS */ @Getter @Setter public class JsonColumnDefinition { private final TypeDonnee typeDonnee; private final String name; private final int lengthh; private final boolean required; private final boolean collection; private String formatDate; private String codeDelimiteurDate; private final Map columnNameToColumnDefinition = new HashMap<>(); public JsonColumnDefinition(TypeDonnee typeDonnee, String name, int lengthh, String formatDate, boolean required, boolean collection) { this.typeDonnee = typeDonnee; this.name = name; this.lengthh = lengthh; this.required = required; this.collection = collection; this.formatDate = formatDate; } }