package com.iformall.domain.po;

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

import java.util.Date;

/**
 * @author gongbiao
 */
@TableName(value = "wx_bill_action")
@Data
@EqualsAndHashCode(callSuper = true)
public class WxBillAction extends BaseEntity {

    protected Long id;

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

    @io.swagger.annotations.ApiModelProperty(value = "账单ID", name = "billId")
    private Long billId;

    @io.swagger.annotations.ApiModelProperty(value = "用户ID", name = "userId")
    private Long userId;

    @io.swagger.annotations.ApiModelProperty(value = "用户名称", name = "userName")
    private String userName;

    @io.swagger.annotations.ApiModelProperty(value = "手机号", name = "phone")
    private String phone;

    @io.swagger.annotations.ApiModelProperty(value = "动作", name = "action")
    private Integer action;

    @io.swagger.annotations.ApiModelProperty(value = "描述", name = "details")
    private String details;

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

    @io.swagger.annotations.ApiModelProperty(value = "更新时间", name = "updatetime")
    private Date updatetime;

    @io.swagger.annotations.ApiModelProperty(value = "付款时间", name = "payDate")
    private Date payDate;

    @TableField(exist = false)
    private Long oldPrice;

    @TableField(exist = false)
    private Long newPrice;

    @TableField(exist = false)
    private String startDate;
    @TableField(exist = false)
    private String endDate;
}
