package com.ruoyi.generator.domain;

import java.util.Date;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

public class SourcePurchase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long purchaseId;
    private Long projectId;
    private Long userId;

    @Excel(name = "订单号")
    private String orderNo;

    @Excel(name = "金额")
    private Long amount;

    @Excel(name = "支付状态", readConverterExp = "0=待支付,1=已支付,2=已取消")
    private String payStatus;

    @Excel(name = "资源状态", readConverterExp = "0=未发放,1=已发放")
    private String resourceStatus;

    @Excel(name = "购买时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date purchaseTime;

    private String projectName;

    public Long getPurchaseId() { return purchaseId; }
    public void setPurchaseId(Long purchaseId) { this.purchaseId = purchaseId; }
    public Long getProjectId() { return projectId; }
    public void setProjectId(Long projectId) { this.projectId = projectId; }
    public Long getUserId() { return userId; }
    public void setUserId(Long userId) { this.userId = userId; }
    public String getOrderNo() { return orderNo; }
    public void setOrderNo(String orderNo) { this.orderNo = orderNo; }
    public Long getAmount() { return amount; }
    public void setAmount(Long amount) { this.amount = amount; }
    public String getPayStatus() { return payStatus; }
    public void setPayStatus(String payStatus) { this.payStatus = payStatus; }
    public String getResourceStatus() { return resourceStatus; }
    public void setResourceStatus(String resourceStatus) { this.resourceStatus = resourceStatus; }
    public Date getPurchaseTime() { return purchaseTime; }
    public void setPurchaseTime(Date purchaseTime) { this.purchaseTime = purchaseTime; }
    public String getProjectName() { return projectName; }
    public void setProjectName(String projectName) { this.projectName = projectName; }
}
