package org.example.Entity.Control.Container;

import com.fasterxml.jackson.annotation.JsonInclude;
import org.example.Entity.Control.Base.Component;

import java.util.Objects;

/**
 * ==============================================================================
 * 功能描述：MContainer  容器，xtype 由 dllname 和 dlltype 决定，用于多标签打开的模块
 * ==============================================================================
 */
public class MContainer extends Component {

    public MContainer() {
        super();
        this.defaultXtype = "MContainer";
    }

    public String mXtype;
    public String title;
    public String ModuleId;
    public String ParentModuleId;
    public String DetailId;
    public Object store;
    private String _leftUnionName;

    public String getLeftUnionName() {
        return Objects.toString(_leftUnionName, "").toLowerCase().replace("{", "").replace("}", "");
    }

    public void setLeftUnionName(String leftUnionName) {
        this._leftUnionName = leftUnionName;
    }

    public String leftUnionValueName;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    public Object MobileCards;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    public Object QueryPms;
    public Object ElseValue;


}