javacodeadmin/ruoyi-system/src/main/java/com/ruoyi/system/domain/PayMoneyLog.java

184 lines
3.4 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;
/**
* 支付记录对象 pay_money_log
*
* @author ruoyi
* @date 2025-05-13
*/
public class PayMoneyLog extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
private Long id;
/** 订单ID */
@Excel(name = "订单ID")
private Long oid;
/** 订单ID */
@Excel(name = "订单号码")
private String ocode;
/** 订单号 */
@Excel(name = "订单号")
private String orderId;
/** 用户 */
@Excel(name = "用户")
private Long uid;
/** 用户 */
@Excel(name = "用户名称")
private String uname;
/** 金额 */
@Excel(name = "金额")
private BigDecimal price;
/** 备注 */
@Excel(name = "备注")
private String mark;
/** 支付时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date payTime;
/** $column.columnComment */
private Date createdAt;
/** $column.columnComment */
private Date updatedAt;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setOid(Long oid)
{
this.oid = oid;
}
public Long getOid()
{
return oid;
}
public void setOrderId(String orderId)
{
this.orderId = orderId;
}
public String getOrderId()
{
return orderId;
}
public void setUid(Long uid)
{
this.uid = uid;
}
public Long getUid()
{
return uid;
}
public void setPrice(BigDecimal price)
{
this.price = price;
}
public BigDecimal getPrice()
{
return price;
}
public void setMark(String mark)
{
this.mark = mark;
}
public String getMark()
{
return mark;
}
public void setPayTime(Date payTime)
{
this.payTime = payTime;
}
public Date getPayTime()
{
return payTime;
}
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 getUname() {
return uname;
}
public void setUname(String uname) {
this.uname = uname;
}
public String getOcode() {
return ocode;
}
public void setOcode(String ocode) {
this.ocode = ocode;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("oid", getOid())
.append("orderId", getOrderId())
.append("uid", getUid())
.append("price", getPrice())
.append("mark", getMark())
.append("payTime", getPayTime())
.append("createdAt", getCreatedAt())
.append("updatedAt", getUpdatedAt())
.toString();
}
}