<commit_before>package com.showka.domain;

import java.math.BigDecimal;

import com.showka.system.exception.EmptyProxy;
import com.showka.system.exception.SystemException;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 売上明細
 * 
 * @author ShowKa
 *
 */
@AllArgsConstructor
@Getter
public class UriageMeisaiDomain extends DomainBase {

	// private member
	/** ID. */
	private String uriageId = STRING_EMPTY;

	/** 明細番号. */
	private Integer meisaiNumber = INTEGER_EMPTY;

	/** 商品. */
	private ShohinDomain shohinDomain = EmptyProxy.domain(ShohinDomain.class);

	/** 売上数. */
	private Integer hanbaiNumber = INTEGER_EMPTY;

	/** 商品販売単価. */
	private BigDecimal hanbaiTanka = BigDecimal.ZERO;

	/** バージョン(排他制御用) */
	private Integer version = INTEGER_EMPTY;

	// public method
	/**
	 * 明細合計金額取得
	 * 
	 * @return 明細合計金額
	 */
	public BigDecimal getMeisaiGokeiKakaku() {
		return hanbaiTanka.multiply(new BigDecimal(hanbaiNumber));
	}

	@Override
	public void validate() throws SystemException {
		// nothing to do
	}

	@Override
	protected boolean equals(DomainBase other) {
		UriageMeisaiDomain o = (UriageMeisaiDomain) other;
		return (uriageId.equals(o.uriageId) && meisaiNumber.equals(o.meisaiNumber));
	}

	@Override
	public int hashCode() {
		return generateHashCode(uriageId, meisaiNumber);
	}

}
<commit_msg>correct import path<commit_after>package com.showka.domain;

import java.math.BigDecimal;

import com.showka.system.EmptyProxy;
import com.showka.system.exception.SystemException;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 売上明細
 * 
 * @author ShowKa
 *
 */
@AllArgsConstructor
@Getter
public class UriageMeisaiDomain extends DomainBase {

	// private member
	/** ID. */
	private String uriageId = STRING_EMPTY;

	/** 明細番号. */
	private Integer meisaiNumber = INTEGER_EMPTY;

	/** 商品. */
	private ShohinDomain shohinDomain = EmptyProxy.domain(ShohinDomain.class);

	/** 売上数. */
	private Integer hanbaiNumber = INTEGER_EMPTY;

	/** 商品販売単価. */
	private BigDecimal hanbaiTanka = BigDecimal.ZERO;

	/** バージョン(排他制御用) */
	private Integer version = INTEGER_EMPTY;

	// public method
	/**
	 * 明細合計金額取得
	 * 
	 * @return 明細合計金額
	 */
	public BigDecimal getMeisaiGokeiKakaku() {
		return hanbaiTanka.multiply(new BigDecimal(hanbaiNumber));
	}

	@Override
	public void validate() throws SystemException {
		// nothing to do
	}

	@Override
	protected boolean equals(DomainBase other) {
		UriageMeisaiDomain o = (UriageMeisaiDomain) other;
		return (uriageId.equals(o.uriageId) && meisaiNumber.equals(o.meisaiNumber));
	}

	@Override
	public int hashCode() {
		return generateHashCode(uriageId, meisaiNumber);
	}

}

{'fraction_non_alphanumeric': 0.10907127429805616, 'fraction_numerical': 0.0, 'mean_word_length': 3.3557993730407523, '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': '7586250', 'n_tokens_mistral': 1091, 'n_tokens_neox': 1017, 'n_words': 188}