package com.iformall.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.iformall.domain.po.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@TableName(value = "wx_card_transfer_info")
@Data
@EqualsAndHashCode(callSuper = true)
public class WxCardTransferInfo extends BaseEntity {

    protected Long id;

    //保存到转赠表中 id,coupon_order_id,tenant_id,title,amount,remain_amount,from_user,to_user,status,create_date,update_date

    @io.swagger.annotations.ApiModelProperty(value = "卡与订单关联ID", name = "couponOrderId")
    private Long couponOrderId;

    @io.swagger.annotations.ApiModelProperty(value = "租户ID", name = "tenantId")
    private String tenantId;

    @io.swagger.annotations.ApiModelProperty(value = "卡名称", name = "title")
    private String title;

    @io.swagger.annotations.ApiModelProperty(value = "面额", name = "amount")
    private Integer amount;

    @io.swagger.annotations.ApiModelProperty(value = "余额", name = "remainAmount")
    private Integer remainAmount;

    @io.swagger.annotations.ApiModelProperty(value = "转赠者", name = "fromUser")
    private Long fromUser;

    @io.swagger.annotations.ApiModelProperty(value = "领取者", name = "toUser")
    private Long toUser;

    @io.swagger.annotations.ApiModelProperty(value = "状态", name = "status")
    private Integer status;

    @io.swagger.annotations.ApiModelProperty(value = "创建时间", name = "createDate")
    private Date createDate;

    @io.swagger.annotations.ApiModelProperty(value = "创建时间", name = "updateDate")
    private Date updateDate;

    @io.swagger.annotations.ApiModelProperty(value = "过期时间", name = "expiredTime")
    private Date expiredTime;

}
