| | |
| | | import cn.hutool.core.bean.BeanUtil; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import cn.hutool.core.bean.copier.CopyOptions; |
| | | |
| | | import java.sql.Timestamp; |
| | | import java.math.BigDecimal; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.io.Serializable; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | |
| | | import lombok.Setter; |
| | | |
| | | /** |
| | | * @description / |
| | | * @author lixin |
| | | * @date 2025-06-11 |
| | | **/ |
| | | * @author lixin |
| | | * @description / |
| | | * @date 2025-06-11 |
| | | **/ |
| | | @Getter |
| | | @Setter |
| | | @TableName("sh_order_return") |
| | |
| | | @ApiModelProperty(value = "退单号") |
| | | private String returnNum; |
| | | |
| | | @NotNull |
| | | @ApiModelProperty(value = "退单状态") |
| | | private Integer returnStatus = 0; |
| | | |
| | | @NotBlank |
| | | @ApiModelProperty(value = "退单状态描述") |
| | | private String returnStatusDescribe; |
| | | |
| | | @NotBlank |
| | | @ApiModelProperty(value = "订单号") |
| | | private String orderNum; |
| | | |
| | | @NotBlank |
| | | @ApiModelProperty(value = "支付类型") |
| | | private String payType; |
| | | |
| | | @NotNull |
| | | @ApiModelProperty(value = "用户") |
| | | private Long userId; |
| | | |
| | | @NotBlank |
| | | @ApiModelProperty(value = "用户账号") |
| | | private String username; |
| | | |
| | | @NotNull |
| | | @ApiModelProperty(value = "门店ID") |
| | |
| | | @ApiModelProperty(value = "退款成功时间") |
| | | private String successTime; |
| | | |
| | | @ApiModelProperty(value = "退款渠道ORIGINAL: 原路退款BALANCE: 退回到余额OTHER_BALANCE: 原账户异常退到其他余额账户OTHER_BANKCARD: 原银行卡异常退到其他银行卡") |
| | | @ApiModelProperty(value = "退款渠道") |
| | | private String channel; |
| | | |
| | | @ApiModelProperty(value = "退款原因") |
| | | private String reason; |
| | | |
| | | @ApiModelProperty(value = "备注") |
| | | private String remark; |
| | | |
| | | @ApiModelProperty(value = "图片") |
| | | private String photos; |
| | | |
| | | @ApiModelProperty(value = "审核状态") |
| | | private Integer auditStatus; |
| | | |
| | | @ApiModelProperty(value = "审核人") |
| | | private String auditUser; |
| | |
| | | @ApiModelProperty(value = "审核信息") |
| | | private String auditMessage; |
| | | |
| | | public void copy(OrderReturn source){ |
| | | BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true)); |
| | | public void copy(OrderReturn source) { |
| | | BeanUtil.copyProperties(source, this, CopyOptions.create().setIgnoreNullValue(true)); |
| | | } |
| | | } |