package com.cyksj.model.views;

import com.ejlchina.searcher.bean.DbField;
import com.ejlchina.searcher.bean.DbIgnore;
import com.ejlchina.searcher.bean.SearchBean;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

/**
 * 项目名: yhlxj
 * 文件名: ExchangeCodeDetailView
 * 创建者: JavaZou
 * 创建时间:2024/12/11 15:38
 */
@Getter
@Setter
@SearchBean(tables = "exchange_code ec")
public class ExchangeCodeDetailView {
	@DbField("ec.code")
	private String code;

	@DbField("ec.sku_ids")
	private String skuIds;

	@DbIgnore
	private List<GoodsDonSkuDetailView> skuDetails;

	/**
	 * 使用状态
	 */
	@DbField("ec.use_status")
	private Boolean useStatus;

	/**
	 * 使用时间
	 */
	@DbField("ec.use_time")
	private Date useTime;

	/**
	 * 兑换形式 1兑换码 2兑换链接
	 */
	@DbField("ec.code_type")
	private Integer codeType;
}
