<commit_before>package eu.cloudopting.domain;

import eu.cloudopting.events.api.entity.BaseEntity;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.transaction.annotation.Transactional;

import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Configurable
@Entity
@Table(schema = "public",name = "customizations")

public class Customizations implements BaseEntity {

	@ManyToOne
    @JoinColumn(name = "customer_organization_id", referencedColumnName = "id")
    private Organizations customerOrganizationId;

    @ManyToOne
    @JoinColumn(name = "cloud_account_id", referencedColumnName = "id")
    private CloudAccounts cloudAccount;

	@Column(name = "application_id")
    @NotNull
    private Long applicationId;

	@Column(name = "customization_tosca_file")
    @NotNull
    private String customizationToscaFile;

	@Column(name = "customization_creation")
    @NotNull
    @Temporal(TemporalType.DATE)
    @DateTimeFormat(style = "M-")
    private Date customizationCreation;

	@Column(name = "customization_activation")
    @NotNull
    @Temporal(TemporalType.DATE)
    @DateTimeFormat(style = "M-")
    private Date customizationActivation;

	@Column(name = "customization_decommission")
    @NotNull
    @Temporal(TemporalType.DATE)
    @DateTimeFormat(style = "M-")
    private Date customizationDecommission;

	@Column(name = "status_id")
    @NotNull
    private Long statusId;

	@Column(name = "process_id", length = 64)
    private String processId;

	public Organizations getCustomerOrganizationId() {
        return customerOrganizationId;
    }

	public void setCustomerOrganizationId(Organizations customerOrganizationId) {
        this.customerOrganizationId = customerOrganizationId;
    }

	public Long getApplicationId() {
        return applicationId;
    }

	public void setApplicationId(Long applicationId) {
        this.applicationId = applicationId;<commit_msg>Decommission and activation date are now nullable<commit_after>package eu.cloudopting.domain;

import eu.cloudopting.events.api.entity.BaseEntity;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.transaction.annotation.Transactional;

import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Configurable
@Entity
@Table(schema = "public",name = "customizations")

public class Customizations implements BaseEntity {

	@ManyToOne
    @JoinColumn(name = "customer_organization_id", referencedColumnName = "id")
    private Organizations customerOrganizationId;

    @ManyToOne
    @JoinColumn(name = "cloud_account_id", referencedColumnName = "id")
    private CloudAccounts cloudAccount;

	@Column(name = "application_id")
    @NotNull
    private Long applicationId;

	@Column(name = "customization_tosca_file")
    @NotNull
    private String customizationToscaFile;

	@Column(name = "customization_creation")
    @NotNull
    @Temporal(TemporalType.DATE)
    @DateTimeFormat(style = "M-")
    private Date customizationCreation;

	@Column(name = "customization_activation")
    @Temporal(TemporalType.DATE)
    @DateTimeFormat(style = "M-")
    private Date customizationActivation;

	@Column(name = "customization_decommission")
    @Temporal(TemporalType.DATE)
    @DateTimeFormat(style = "M-")
    private Date customizationDecommission;

	@Column(name = "status_id")
    @NotNull
    private Long statusId;

	@Column(name = "process_id", length = 64)
    private String processId;

	public Organizations getCustomerOrganizationId() {
        return customerOrganizationId;
    }

	public void setCustomerOrganizationId(Organizations customerOrganizationId) {
        this.customerOrganizationId = customerOrganizationId;
    }

	public Long getApplicationId() {
        return applicationId;
    }

	public void setApplicationId(Long applicationId) {
        this.applicationId = applicationId;
{'fraction_non_alphanumeric': 0.09286367795059469, 'fraction_numerical': 0.0018298261665141812, 'mean_word_length': 5.031724137931034, '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': '4557538', 'n_tokens_mistral': 1258, 'n_tokens_neox': 1208, 'n_words': 247}