package com.cyksj.model.views;

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

import java.math.BigDecimal;

/**
 * 项目名: yhlxj
 * 文件名: GoodsCategorySkuView
 * 创建者: JavaZou
 * 创建时间:2025/6/24 11:37
 */
@Getter
@Setter
@SearchBean(tables = "goods_don_category gc left join goods_don_category_relate gcr on gcr.category = gc.id" +
		" left join goods_don g on g.id = gcr.goods_id and g.deleted is true" +
		" left join goods_don_sku sku on sku.goods_id = g.id")
public class GoodsCategorySkuView {
	@DbField("gc.name")
	private String categoryName;

	@DbField("g.id")
	private Long goodsId;

	@DbField("g.title")
	private String title;

	@DbField("sku.id")
	private Long skuId;

	@DbField("sku.price")
	private BigDecimal price;

	@DbField("sku.spec_val")
	private String specVal;

	/**
	 * 限制次数
	 */
	@DbField("sku.gpt_limit_num")
	private Integer gptLimitNum;

	/**
	 * 限制时间
	 */
	@DbField("sku.gpt_limit_time")
	private Long gptLimitTime;


	/**
	 * mj fast次数
	 */
	@DbField("sku.mj_fast_num")
	private Integer mjFastNum;

	/**
	 * mj relax次数
	 */
	@DbField("sku.mj_relax_num")
	private Integer mjRelaxNum;

	@DbField("sku.luma_num")
	private Integer lumaNum;

	/**
	 * deepseek限制次数
	 */
	@DbField("sku.ds_limit_num")
	private Integer dsLimitNum;

	/**
	 * deepseek限制时间
	 */
	@DbField("sku.ds_limit_time")
	private Long dsLimitTime;

	/**
	 * 其他模型限制次数
	 */
	@DbField("sku.other_limit_num")
	private Integer otherLimitNum;

	/**
	 * 其他模型限制时间
	 */
	@DbField("sku.other_limit_time")
	private Long otherLimitTime;
}
