package com.lantone.structure.model.entity;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @ClassName com.lantone.util.module.General
 * @Description 基础对象，用于继承
 * @Author Mark Huang
 * @Date 2019/1/18/018 15:04
 * @Version 1.0
 **/
@Setter
@Getter
public class General {
    private String name;
    protected  <T> void add(List<T> list, T obj) {
        list.add(obj);
    }
}
