package com.optage.model;

/**
 * システム名 : Optage Test System
 * モジュール名 : BusinessLabel
 * <機能概要> Represents a business label in the model.
 * v1.0.0 2023/01/01 X.Nguyen Initial creation
 */
public class BusinessLabel {
    private String fieldName = "";  // フィールド名
    private String label = "";      // 日本語ラベル
    private String source = "";     // コメントソース


    public BusinessLabel(String fieldName, String label, String source) {
        this.fieldName = fieldName;
        this.label = label;
        this.source = source;
    }

    public String getFieldName() { return fieldName; }
    public String getLabel() { return label; }
    public String getSource() { return source; }

    @Override
    public String toString() {
        return String.format("BusinessLabel{field=%s, label=%s, source=%s}",
                fieldName, label, source);
    }
}