<commit_before>package org.openlmis.core.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.openlmis.upload.Importable;
import org.openlmis.upload.annotation.ImportField;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Facility implements Importable {

    private Integer id;

    @ImportField(mandatory = true, name = "Facility Code")
    private String code;

    @ImportField(mandatory = true, name = "Facility Name")
    private String name;

    @ImportField(name = "Facility Description")
    private String description;

    @ImportField(name = "GLN")
    private String gln;

    @ImportField(name = "Facility Main Phone")
    private String mainPhone;

    @ImportField(name = "Facility Fax")
    private String fax;

    @ImportField(name = "Facility Address1")
    private String address1;<commit_msg>#000|+Rahul| adding null ignore in facility json<commit_after>package org.openlmis.core.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.codehaus.jackson.map.annotate.JsonSerialize;
import org.openlmis.upload.Importable;
import org.openlmis.upload.annotation.ImportField;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import static org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonSerialize(include = Inclusion.NON_NULL)
public class Facility implements Importable {

    private Integer id;

    @ImportField(mandatory = true, name = "Facility Code")
    private String code;

    @ImportField(mandatory = true, name = "Facility Name")
    private String name;

    @ImportField(name = "Facility Description")
    private String description;

    @ImportField(name = "GLN")
    private String gln;

    @ImportField(name = "Facility Main Phone")
    private String mainPhone;

    @ImportField(name = "Facility Fax")
    private String fax;

    @ImportField(name = "Facility Address1")
    private String address1;
{'fraction_non_alphanumeric': 0.09433962264150944, 'fraction_numerical': 0.0033018867924528303, 'mean_word_length': 4.64095744680851, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2892217', 'n_tokens_mistral': 645, 'n_tokens_neox': 622, 'n_words': 162}