247 lines
4.9 KiB
Java
247 lines
4.9 KiB
Java
package com.ruoyi.system.domain;
|
|
|
|
import java.math.BigDecimal;
|
|
import java.util.Date;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import com.ruoyi.common.annotation.Excel;
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
|
|
/**
|
|
* 次卡使用对象 user_use_secondary_card
|
|
*
|
|
* @author ruoyi
|
|
* @date 2025-07-02
|
|
*/
|
|
public class UserUseSecondaryCard extends BaseEntity
|
|
{
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/** $column.columnComment */
|
|
private Long id;
|
|
|
|
/** 用户id */
|
|
@Excel(name = "用户ID")
|
|
private Long uid;
|
|
|
|
/** 用户名称(用于导出显示) */
|
|
@Excel(name = "用户名称")
|
|
private String userName;
|
|
|
|
/** 次卡id */
|
|
@Excel(name = "次卡ID")
|
|
private String carid;
|
|
|
|
/** 服务id */
|
|
private String goodsids;
|
|
|
|
/** 用户可用数量 */
|
|
@Excel(name = "可用数量")
|
|
private Long num;
|
|
|
|
/** 用户已用数量 */
|
|
@Excel(name = "已用数量")
|
|
private Long usenum;
|
|
|
|
/** 订单id */
|
|
@Excel(name = "订单ID")
|
|
private String orderid;
|
|
|
|
/** 支付id */
|
|
@Excel(name = "支付ID")
|
|
private String transactionId;
|
|
|
|
/** 支付金额 */
|
|
@Excel(name = "支付金额")
|
|
private BigDecimal paymoney;
|
|
|
|
/** 状态 1可用 2已用完 3已退款 4未支付 */
|
|
private Long status;
|
|
|
|
/** 状态名称(用于导出显示) */
|
|
@Excel(name = "状态")
|
|
private String statusName;
|
|
|
|
/** 创建时间 */
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@Excel(name = "创建时间", width = 20, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
private Date createdAt;
|
|
|
|
/** 更新时间 */
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
private Date updatedAt;
|
|
|
|
|
|
private String nostatus;
|
|
|
|
public void setId(Long id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getId()
|
|
{
|
|
return id;
|
|
}
|
|
|
|
public void setUid(Long uid)
|
|
{
|
|
this.uid = uid;
|
|
}
|
|
|
|
public Long getUid()
|
|
{
|
|
return uid;
|
|
}
|
|
|
|
public void setUserName(String userName)
|
|
{
|
|
this.userName = userName;
|
|
}
|
|
|
|
public String getUserName()
|
|
{
|
|
return userName;
|
|
}
|
|
|
|
public void setCarid(String carid)
|
|
{
|
|
this.carid = carid;
|
|
}
|
|
|
|
public String getCarid()
|
|
{
|
|
return carid;
|
|
}
|
|
|
|
public void setGoodsids(String goodsids)
|
|
{
|
|
this.goodsids = goodsids;
|
|
}
|
|
|
|
public String getGoodsids()
|
|
{
|
|
return goodsids;
|
|
}
|
|
|
|
public void setNum(Long num)
|
|
{
|
|
this.num = num;
|
|
}
|
|
|
|
public Long getNum()
|
|
{
|
|
return num;
|
|
}
|
|
|
|
public void setUsenum(Long usenum)
|
|
{
|
|
this.usenum = usenum;
|
|
}
|
|
|
|
public Long getUsenum()
|
|
{
|
|
return usenum;
|
|
}
|
|
|
|
public void setOrderid(String orderid)
|
|
{
|
|
this.orderid = orderid;
|
|
}
|
|
|
|
public String getOrderid()
|
|
{
|
|
return orderid;
|
|
}
|
|
|
|
public void setTransactionId(String transactionId)
|
|
{
|
|
this.transactionId = transactionId;
|
|
}
|
|
|
|
public String getTransactionId()
|
|
{
|
|
return transactionId;
|
|
}
|
|
|
|
public void setPaymoney(BigDecimal paymoney)
|
|
{
|
|
this.paymoney = paymoney;
|
|
}
|
|
|
|
public BigDecimal getPaymoney()
|
|
{
|
|
return paymoney;
|
|
}
|
|
|
|
public void setStatus(Long status)
|
|
{
|
|
this.status = status;
|
|
}
|
|
|
|
public Long getStatus()
|
|
{
|
|
return status;
|
|
}
|
|
|
|
public String getStatusName()
|
|
{
|
|
return statusName;
|
|
}
|
|
|
|
public void setStatusName(String statusName)
|
|
{
|
|
this.statusName = statusName;
|
|
}
|
|
|
|
public void setCreatedAt(Date createdAt)
|
|
{
|
|
this.createdAt = createdAt;
|
|
}
|
|
|
|
public Date getCreatedAt()
|
|
{
|
|
return createdAt;
|
|
}
|
|
|
|
public void setUpdatedAt(Date updatedAt)
|
|
{
|
|
this.updatedAt = updatedAt;
|
|
}
|
|
|
|
public Date getUpdatedAt()
|
|
{
|
|
return updatedAt;
|
|
}
|
|
|
|
|
|
public String getNostatus() {
|
|
return nostatus;
|
|
}
|
|
|
|
public void setNostatus(String nostatus) {
|
|
this.nostatus = nostatus;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
.append("id", getId())
|
|
.append("uid", getUid())
|
|
.append("userName", getUserName())
|
|
.append("carid", getCarid())
|
|
.append("goodsids", getGoodsids())
|
|
.append("num", getNum())
|
|
.append("usenum", getUsenum())
|
|
.append("orderid", getOrderid())
|
|
.append("transactionId", getTransactionId())
|
|
.append("paymoney", getPaymoney())
|
|
.append("status", getStatus())
|
|
.append("statusName", getStatusName())
|
|
.append("createdAt", getCreatedAt())
|
|
.append("updatedAt", getUpdatedAt())
|
|
.toString();
|
|
}
|
|
}
|