package com.entity.view;

import com.entity.DuiyuanEntity;

import com.baomidou.mybatisplus.annotations.TableName;
import org.apache.commons.beanutils.BeanUtils;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
 

/**
 * 队员
 * 后端返回视图实体辅助类   
 * （通常后端关联的表或者自定义的字段需要返回使用）
 * @author 
 * @email 
 * @date 2021-03-24 19:14:37
 */
@TableName("duiyuan")
public class DuiyuanView  extends DuiyuanEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	public DuiyuanView(){
	}
 
 	public DuiyuanView(DuiyuanEntity duiyuanEntity){
 	try {
			BeanUtils.copyProperties(this, duiyuanEntity);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
 		
	}
}
