package com.tzy.dto.local;

import lombok.Data;
import org.teasoft.bee.osql.annotation.Entity;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * @Description  
 * @Author  Hunter
 * @Date 2022-02-16 
 */

@Entity("card_group_info" )
@Data
public class CardGroupInfoDTO  implements Serializable {

	private static final long serialVersionUID =  3012799475873876829L;

	/**
	 * id
	 */
   	@Column(name = "id" )
	private Long id;

	/**
	 * 商家id
	 */
   	@Column(name = "merchant_id" )
	private Long merchantId;

	/**
	 * 名称
	 */
   	@Column(name = "name" )
	private String name;

	/**
	 * 编码
	 */
   	@Column(name = "code" )
	private String code;

	/**
	 * 状态
	 */
   	@Column(name = "status" )
	private Long status;

	/**
	 * 商品规格
	 */
   	@Column(name = "specs" )
	private String specs;

	/**
	 * 组团方式
	 */
   	@Column(name = "type" )
	private String type;

	/**
	 * 随机方式
	 */
   	@Column(name = "random_type" )
	private String randomType;

	/**
	 * 商品份数
	 */
   	@Column(name = "copies" )
	private Long copies;

	/**
	 * 年份
	 */
   	@Column(name = "year" )
	private String year;

	/**
	 * 运动
	 */
   	@Column(name = "sport" )
	private String sport;

	/**
	 * 厂商
	 */
   	@Column(name = "manufacturer" )
	private String manufacturer;

	/**
	 * 序列
	 */
   	@Column(name = "sets" )
	private String sets;

   	@Column(name = "mer_name" )
	private String merName;

	private Integer openCard;
	//买对玩法，改变之后的组队方式
	private String changeType;
	//选队随机自分类
	private String subType;
	/**组合加倍,暂时仅支持随机分配*/
	private Integer mixCopies;

}
