You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
889 B
37 lines
889 B
package com.entity.view;
|
|
|
|
import com.entity.CaipanyuanEntity;
|
|
|
|
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("caipanyuan")
|
|
public class CaipanyuanView extends CaipanyuanEntity implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
public CaipanyuanView(){
|
|
}
|
|
|
|
public CaipanyuanView(CaipanyuanEntity caipanyuanEntity){
|
|
try {
|
|
BeanUtils.copyProperties(this, caipanyuanEntity);
|
|
} catch (IllegalAccessException | InvocationTargetException e) {
|
|
// TODO Auto-generated catch block
|
|
e.printStackTrace();
|
|
}
|
|
|
|
}
|
|
}
|