package com.unis.crk.cplbusiness.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.ArrayList;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ghh
 * @since 2023-01-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "LI_AFTER_SALE")
@ApiModel(value="LiAfterSale对象", description="")
public class LiAfterSale implements Serializable {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "ID", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "创建者")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "删除标志 true/false 删除/未删除")
    @TableField("DELETE_FLAG")
    private BigDecimal deleteFlag;

    @ApiModelProperty(value = "更新者")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "账号类型")
    @TableField("ACCOUNT_TYPE")
    private String accountType;

    @ApiModelProperty(value = "实际退款金额")
    @TableField("ACTUAL_REFUND_PRICE")
    private BigDecimal actualRefundPrice;

    @ApiModelProperty(value = "评价图片")
    @TableField("AFTER_SALE_IMAGE")
    private String afterSaleImage;

    @ApiModelProperty(value = "申请退款金额")
    @TableField("APPLY_REFUND_PRICE")
    private BigDecimal applyRefundPrice;

    @ApiModelProperty(value = "商家备注")
    @TableField("AUDIT_REMARK")
    private String auditRemark;

    @ApiModelProperty(value = "银行开户名")
    @TableField("BANK_ACCOUNT_NAME")
    private String bankAccountName;

    @ApiModelProperty(value = "银行账户")
    @TableField("BANK_ACCOUNT_NUMBER")
    private String bankAccountNumber;

    @ApiModelProperty(value = "银行开户行")
    @TableField("BANK_DEPOSIT_NAME")
    private String bankDepositName;

    @ApiModelProperty(value = "实际金额")
    @TableField("FLOW_PRICE")
    private BigDecimal flowPrice;

    @ApiModelProperty(value = "商品ID")
    @TableField("GOODS_ID")
    private String goodsId;

    @ApiModelProperty(value = "商品图片")
    @TableField("GOODS_IMAGE")
    private String goodsImage;

    @ApiModelProperty(value = "商品名称")
    @TableField("GOODS_NAME")
    private String goodsName;

    @ApiModelProperty(value = "买家 发货时间")
    @TableField("M_DELIVER_TIME")
    private Date mDeliverTime;

    @ApiModelProperty(value = "买家 物流公司CODE")
    @TableField("M_LOGISTICS_CODE")
    private String mLogisticsCode;

    @ApiModelProperty(value = "买家 物流公司名称")
    @TableField("M_LOGISTICS_NAME")
    private String mLogisticsName;

    @ApiModelProperty(value = "买家 发货单号")
    @TableField("M_LOGISTICS_NO")
    private String mLogisticsNo;

    @ApiModelProperty(value = "用户ID")
    @TableField("MEMBER_ID")
    private String memberId;

    @ApiModelProperty(value = "用户名称")
    @TableField("MEMBER_NAME")
    private String memberName;

    @ApiModelProperty(value = "申请数量")
    @TableField("NUM")
    private Integer num;

    @ApiModelProperty(value = "订单编号")
    @TableField("ORDER_SN")
    private String orderSn;

    @ApiModelProperty(value = "订单支付方式返回的交易号")
    @TableField("PAY_ORDER_NO")
    private String payOrderNo;

    @ApiModelProperty(value = "问题描述")
    @TableField("PROBLEM_DESC")
    private String problemDesc;

    @ApiModelProperty(value = "申请原因")
    @TableField("REASON")
    private String reason;

    @ApiModelProperty(value = "退还积分")
    @TableField("REFUND_POINT")
    private Integer refundPoint;

    @ApiModelProperty(value = "退款时间")
    @TableField("REFUND_TIME")
    private Date refundTime;

    @ApiModelProperty(value = "退款方式")
    @TableField("REFUND_WAY")
    private String refundWay;

    @ApiModelProperty(value = "店铺ID")
    @TableField("STORE_ID")
    private String storeId;

    @ApiModelProperty(value = "店铺名称")
    @TableField("STORE_NAME")
    private String storeName;

    @ApiModelProperty(value = "售后单状态")
    @TableField("SERVICE_STATUS")
    private String serviceStatus;

    @ApiModelProperty(value = "售后类型")
    @TableField("SERVICE_TYPE")
    private String serviceType;

    @ApiModelProperty(value = "货品ID")
    @TableField("SKU_ID")
    private String skuId;

    @ApiModelProperty(value = "售后服务单号")
    @TableField("SN")
    private String sn;

    @ApiModelProperty(value = "规格json")
    @TableField("SPECS")
    private String specs;

    @ApiModelProperty(value = "交易编号")
    @TableField("TRADE_SN")
    private String tradeSn;

    @ApiModelProperty(value = "订单货物编号")
    @TableField("ORDER_ITEM_SN")
    private String orderItemSn;

    @ApiModelProperty(value = "出入库是否发货完成 0是 1否")
    @TableField("IS_FH")
    private String isFh;

    @ApiModelProperty(value = "单位id")
    @TableField("UNITID")
    private String unitid;

    @ApiModelProperty(value = "成品粮出库从表信息")
    @TableField(exist = false)
    private DataCrkywCplrkDefault rk;

    @ApiModelProperty(value = "成品粮出库从表信息")
    @TableField(exist = false)
    private List<DataCrkywCplckDefault> ckList = new ArrayList<>();

}
