HAVehicleInsurancUpdateDTO.java
919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package cn.com.glsx.insurance.dto;
import lombok.Data;
import org.springframework.beans.BeanUtils;
/**
* 项目名:ne-shield-insurancenter
* 包名: cn.com.glsx.insurance.modules.model
* 作者: Yanglinlong
* 日期: 2021/7/8 16:43
*/
@Data
public class HAVehicleInsurancUpdateDTO {
// 修改投保信息 必填参数
/**
* 完整保单号(对方返回的完整保单号)
*/
private String fullInsuranceNo;
// 修改投保信息 必填参数
/**
* 更新之后的保险受益人
*/
private String newCompensationname;
/**
* 将实体类值拷贝到公用实体类对象
*
* @return 公用实体类
*/
public VehicleInsuranceDTO getVehicleInsuranceDTO() {
VehicleInsuranceDTO vehicleInsuranceDTO = new VehicleInsuranceDTO();
BeanUtils.copyProperties(this, vehicleInsuranceDTO);
return vehicleInsuranceDTO;
}
}