| | |
| | | import cn.hutool.core.bean.BeanUtil; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import cn.hutool.core.bean.copier.CopyOptions; |
| | | |
| | | import java.math.BigDecimal; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | |
| | | import lombok.Setter; |
| | | |
| | | /** |
| | | * @description / |
| | | * @author lixin |
| | | * @date 2025-06-11 |
| | | **/ |
| | | * @author lixin |
| | | * @description / |
| | | * @date 2025-06-11 |
| | | **/ |
| | | @Getter |
| | | @Setter |
| | | @TableName("sh_order_address_snapshot") |
| | |
| | | @ApiModelProperty(value = "地址标签(家/公司/学校等)") |
| | | private String tag; |
| | | |
| | | public void copy(OrderAddressSnapshot source){ |
| | | BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true)); |
| | | public void copy(OrderAddressSnapshot source) { |
| | | BeanUtil.copyProperties(source, this, CopyOptions.create().setIgnoreNullValue(true)); |
| | | } |
| | | } |