<commit_before>package ua.com.fielden.platform.sample.domain;

import java.math.BigDecimal;
import java.util.Date;

import org.junit.Ignore;

import ua.com.fielden.platform.entity.AbstractEntity;
import ua.com.fielden.platform.entity.annotation.CompanionObject;
import ua.com.fielden.platform.entity.annotation.CritOnly;
import ua.com.fielden.platform.entity.annotation.CritOnly.Type;
import ua.com.fielden.platform.entity.annotation.DescTitle;
import ua.com.fielden.platform.entity.annotation.IsProperty;
import ua.com.fielden.platform.entity.annotation.KeyTitle;
import ua.com.fielden.platform.entity.annotation.KeyType;
import ua.com.fielden.platform.entity.annotation.MapEntityTo;
import ua.com.fielden.platform.entity.annotation.MapTo;
import ua.com.fielden.platform.entity.annotation.Observable;
import ua.com.fielden.platform.entity.annotation.Title;
import ua.com.fielden.platform.entity.meta.PropertyDescriptor;
import ua.com.fielden.platform.types.Money;

@KeyType(String.class)
@MapEntityTo
@DescTitle("Description")
@KeyTitle(value = "Wo No")
@Ignore
@CompanionObject(ITgWorkOrder.class)
public class TgWorkOrder extends AbstractEntity<String> {
    private static final long serialVersionUID = 1L;

    @IsProperty
    @Title(value = "Vehicle", desc = "Vehicle under repair")
    @MapTo
    private TgVehicle vehicle;

    @IsProperty
    @MapTo
    @Title(value = "Act.Cost", desc = "Actual Cost")
    private Money actCost;

    @IsProperty
    @MapTo
    @Title(value = "Est.Cost", desc = "Estimated Cost")
    private Money estCost;

    @IsProperty
    @MapTo
    @Title(value = "Yearly Cost", desc = "Yearly Cost")
    private Money yearlyCost;

    @IsProperty(TgWorkOrder.class)
    @MapTo
    @Title(value = "Important Property", desc = "Property that has a special meaning")
    private PropertyDescriptor<TgWorkOrder> importantProperty;

    @IsProperty
    @Title(value = "Org Unit", desc = "Desc")
    private TgOrgUnit1 orgUnit1;

    @IsProperty
    @CritOnly(Type.RANGE)
    @Title(value = "OrgUnit1", desc = "A range crit only property")
    private TgOrgUnit1 orgunitCritOnly;

    @IsProperty
    @CritOnly(Type.SINGLE)
    @Title(value = "OrgUnit1 Single", desc = "A single crit only property")
    private TgOrgUnit1 orgunitCritOnlySingle;

    @IsProperty
    @CritOnly(Type.SINGLE)
    @Title(value = "Int Single", desc = "A single crit only property of type integer")
    private Integer intSingle;

    @IsProperty
    @CritOnly(Type.RANGE)
    @Title(value = "Int Range", desc = "A range crit only property of type integer")
    private Integer intRange;

    @IsProperty
    @CritOnly(Type.SINGLE)
    @Title(value = "Boolean Single", desc = "A single crit only property of type boolean")
    private boolean boolSingle;


    @IsProperty
    @CritOnly(Type.SINGLE)
    @Title(value = "String Single", desc = "A single crit only property of type String")
    private String stringSingle;

    @IsProperty
    @CritOnly(Type.SINGLE)
    @Title(value = "Money Single", desc = "A single crit only property of type Money")
    private Money moneySingle;

    @IsProperty
    @CritOnly(Type.SINGLE)
    @Title(value = "BigDecimal Single", desc = "A single crit only property of type BigDecimal")
    private BigDecimal bigDecimalSingle;

    @IsProperty<commit_msg>#979 Synced existing crit-only single boolean properties with 979 issue.<commit_after>package ua.com.fielden.platform.sample.domain;

import java.math.BigDecimal;
import java.util.Date;

import org.junit.Ignore;

import ua.com.fielden.platform.entity.AbstractEntity;
import ua.com.fielden.platform.entity.annotation.CompanionObject;
import ua.com.fielden.platform.entity.annotation.CritOnly;
import ua.com.fielden.platform.entity.annotation.CritOnly.Type;
import ua.com.fielden.platform.entity.annotation.DescTitle;
import ua.com.fielden.platform.entity.annotation.IsProperty;
import ua.com.fielden.platform.entity.annotation.KeyTitle;
import ua.com.fielden.platform.entity.annotation.KeyType;
import ua.com.fielden.platform.entity.annotation.MapEntityTo;
import ua.com.fielden.platform.entity.annotation.MapTo;
import ua.com.fielden.platform.entity.annotation.Observable;
import ua.com.fielden.platform.entity.annotation.Title;
import ua.com.fielden.platform.entity.meta.PropertyDescriptor;
import ua.com.fielden.platform.types.Money;

@KeyType(String.class)
@MapEntityTo
@DescTitle("Description")
@KeyTitle(value = "Wo No")
@Ignore
@CompanionObject(ITgWorkOrder.class)
public class TgWorkOrder extends AbstractEntity<String> {
    private static final long serialVersionUID = 1L;

    @IsProperty
    @Title(value = "Vehicle", desc = "Vehicle under repair")
    @MapTo
    private TgVehicle vehicle;

    @IsProperty
    @MapTo
    @Title(value = "Act.Cost", desc = "Actual Cost")
    private Money actCost;

    @IsProperty
    @MapTo
    @Title(value = "Est.Cost", desc = "Estimated Cost")
    private Money estCost;

    @IsProperty
    @MapTo
    @Title(value = "Yearly Cost", desc = "Yearly Cost")
    private Money yearlyCost;

    @IsProperty(TgWorkOrder.class)
    @MapTo
    @Title(value = "Important Property", desc = "Property that has a special meaning")
    private PropertyDescriptor<TgWorkOrder> importantProperty;

    @IsProperty
    @Title(value = "Org Unit", desc = "Desc")
    private TgOrgUnit1 orgUnit1;

    @IsProperty
    @CritOnly(Type.RANGE)
    @Title(value = "OrgUnit1", desc = "A range crit only property")
    private TgOrgUnit1 orgunitCritOnly;

    @IsProperty
    @CritOnly(Type.SINGLE)
    @Title(value = "OrgUnit1 Single", desc = "A single crit only property")
    private TgOrgUnit1 orgunitCritOnlySingle;

    @IsProperty
    @CritOnly(Type.SINGLE)
    @Title(value = "Int Single", desc = "A single crit only property of type integer")
    private Integer intSingle;

    @IsProperty
    @CritOnly(Type.RANGE)
    @Title(value = "Int Range", desc = "A range crit only property of type integer")
    private Integer intRange;

    @IsProperty
    @CritOnly(Type.SINGLE)
    @Title(value = "Boolean Single", desc = "A single crit only property of type boolean")
    private boolean boolSingle = false;


    @IsProperty
    @CritOnly(Type.SINGLE)
    @Title(value = "String Single", desc = "A single crit only property of type String")
    private String stringSingle;

    @IsProperty
    @CritOnly(Type.SINGLE)
    @Title(value = "Money Single", desc = "A single crit only property of type Money")
    private Money moneySingle;

    @IsProperty
    @CritOnly(Type.SINGLE)
    @Title(value = "BigDecimal Single", desc = "A single crit only property of type BigDecimal")
    private BigDecimal bigDecimalSingle;

    @IsProperty
{'fraction_non_alphanumeric': 0.10679466026698665, 'fraction_numerical': 0.002999850007499625, 'mean_word_length': 4.1850699844479005, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2897088', 'n_tokens_mistral': 2109, 'n_tokens_neox': 2033, 'n_words': 511}