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.
j2ee1/src/main/java/com/entity/view/WenjuandiaochaView.java

41 lines
1.3 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.entity.view;
import com.entity.WenjuandiaochaEntity;
import com.baomidou.mybatisplus.annotations.TableName;
import org.apache.commons.beanutils.BeanUtils;
import java.lang.reflect.InvocationTargetException;
import java.io.Serializable;
/**
* 问卷调查视图实体类
* 该类用于在后端返回视图时使用的辅助实体类。
* 通常在后端需要关联其他表或自定义字段时,会使用此类来封装返回的数据。
* @author 未填写具体作者
* @email 未填写具体邮箱
* @date 2023-02-21 09:46:06
*/
@TableName("wenjuandiaocha")
public class WenjuandiaochaView extends WenjuandiaochaEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 无参构造函数
*/
public WenjuandiaochaView() {
}
/**
* 带参数的构造函数用于将WenjuandiaochaEntity对象的属性复制到WenjuandiaochaView对象中
* @param wenjuandiaochaEntity 问卷调查实体对象
*/
public WenjuandiaochaView(WenjuandiaochaEntity wenjuandiaochaEntity) {
try {
BeanUtils.copyProperties(this, wenjuandiaochaEntity);
} catch (IllegalAccessException | InvocationTargetException e) {
// 打印堆栈跟踪信息以便调试
e.printStackTrace();
}
}
}