LeixingView

pfwt7cxhv 1 year ago
parent b0957f5c28
commit c2fa6067a5

@ -0,0 +1,37 @@
package com.entity.view;
import com.entity.LeixingEntity;
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("leixing")
public class LeixingView extends LeixingEntity implements Serializable {
private static final long serialVersionUID = 1L;
public LeixingView(){
}
// 接收 LeixingEntity 对象的构造函数
public LeixingView(LeixingEntity leixingEntity) {
try {
// 将LeixingEntity的属性复制到当前LeixingView对象
BeanUtils.copyProperties(this, leixingEntity);
} catch (IllegalAccessException | InvocationTargetException e) {
// 异常处理,打印堆栈信息
e.printStackTrace();
}
}
}
Loading…
Cancel
Save