package com.teemlink.sync.model;

public class DataOperation {

    public final static String ACT_CREATE = "create";

    public final static String ACT_UPDATE = "update";

    public final static String ACT_DELETE = "delete";

    /**
     * 动作类型（新增：create；更新：update；删除：delete）
     */
    private String action;

    /**
     * 数据源名称
     */
    private String dataSourceName;

    /**
     * 软件id
     */
    private String applicationId;

    /**
     * 数据对象
     */
    private DataObject dataObject;

    public String getDataSourceName() {
        return dataSourceName;
    }

    public void setDataSourceName(String dataSourceName) {
        this.dataSourceName = dataSourceName;
    }

    public DataObject getDataObject() {
        return dataObject;
    }

    public void setDataObject(DataObject dataObject) {
        this.dataObject = dataObject;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getApplicationId() {
        return applicationId;
    }

    public void setApplicationId(String applicationId) {
        this.applicationId = applicationId;
    }
}
