package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("退款信息")
@TableName("tz_refund_delivery")
public class RefundDelivery implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 退货物流信息id
     */
    @TableId
    private Long refundDeliveryId;
    /**
     * 店铺id
     */
    @NotNull(message = "店铺id不能为空")
    @ApiModelProperty(value = "店铺id", required = true)
    private Long shopId;
    /**
     * 用户id
     */
    @NotNull(message = "用户id不能为空")
    @ApiModelProperty(value = "用户id", required = true)
    private String userId;
    /**
     * 退款编号
     */
    @NotNull(message = "退款编号不能为空")
    @ApiModelProperty(value = "退款编号", required = true)
    private String refundSn;
    /**
     * 物流公司id
     */
    @NotNull(message = "物流公司id不能为空")
    @ApiModelProperty(value = "物流公司id", required = true)
    private Long deyId;
    /**
     * 物流公司名称
     */
    @ApiModelProperty(value = "物流公司名称", required = true)
    private String deyName;
    /**
     * 物流编号
     */
    @NotNull(message = "物流编号")
    private String deyNu;
    /**
     * 收件人姓名
     */
    private String receiverName;
    /**
     * 收件人手机
     */
    private String receiverMobile;
    /**
     * 收件人座机
     */
    private String receiverTelephone;
    /**
     * 收件人邮政编码
     */
    private String receiverPostCode;
    /**
     * 收件人地址
     */
    private String receiverAddr;
    /**
     * 发送人手机号码
     */
    private String senderMobile;
    /**
     * 描述
     */
    private String senderRemarks;
    /**
     * 图片凭证
     */
    private String imgs;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 支付方 1 店铺、2 买家
     */
    private String payer;
    /**
     * 是否支付
     */
    private boolean pay;
    /**
     * 配送价格
     */
    private Double price;

    /**
     * 计算价格时间
     */
    private Long touchTime;

    /**
     * 期望送达时间
     */
    private Long deliveryTime;

}
