package com.cyksj.model.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ejlchina.searcher.bean.DbField;
import com.ejlchina.searcher.bean.SearchBean;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 项目名: netflix-job
 * 文件名: AccountBlockedReplaceRecord
 * 创建者: JavaZou
 * 创建时间:2024/1/16 16:37
 */
@Getter
@Setter
@SearchBean(tables = "account_blocked_replace_record ar left join goods_don g on g.id = ar.goods_id")
public class AccountBlockedReplaceRecord {


	@DbField("ar.id")
	private Long id;

	@DbField("ar.account")
	private String account;

	@DbField("ar.goods_id")
	private Long goodsId;

	@DbField("a.title")
	@TableField(exist = false)
	private String title;

	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	@DbField("ar.created_time")
	private Date createdTime;

	/**
	 * 修改时间
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	@DbField("ar.update_time")
	private Date updateTime;
}
