package com.cyksj.model.views;

import com.ejlchina.searcher.bean.DbField;
import com.ejlchina.searcher.bean.SearchBean;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 项目名: yhlxj321312312312312312
 * 文件名: GptUserRechargeNumRecordView
 * 创建者: JavaZou
 * 创建时间:2025/8/13 17:30
 */
@Getter
@Setter
@SearchBean(tables = "gpt_user_recharge_num_record gu")
public class GptUserRechargeNumRecordView {

	@DbField("gu.user_id")
	@JsonIgnore
	private Long userId;

	@DbField("gu.relation_id")
	private Long relationId;

	@DbField("IF(gu.operator IS NULL,NULL,'银河客服')")
	private String operator;

	/**
	 * 次数 正为增加 负为扣除
	 */
	@DbField("gu.num")
	private Integer num;

	@DbField("gu.remark")
	private String remark;

	@DbField("gu.created_time")
	private Date createdTime;
}
