package com.tzy.pojo.card;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description  
 * @Author  poyee
 * @Date 2022-07-19 
 */

@Table ( name ="card_group_goods" )
@Data
public class CardGroupGoods  implements Serializable {

	private static final long serialVersionUID =  2514008314456138335L;

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

	/**
	 * 组团信息id
	 */
   	@Column(name = "group_info_id" )
	private Long groupInfoId;

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

	/**
	 * Set Name
	 */
   	@Column(name = "set_name" )
	private String setName;

	/**
	 * Player Name
	 */
   	@Column(name = "player_name" )
	private String playerName;

	/**
	 * Team
	 */
   	@Column(name = "team" )
	private String team;

	/**
	 * Seq
	 */
   	@Column(name = "seq" )
	private String seq;

	/**
	 * 组团用户id
	 */
   	@Column(name = "user_id" )
	private Long userId;

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

	/**
	 * 备注
	 */
   	@Column(name = "remark" )
	private String remark;


	/**
	 * 卡编
	 */
   	@Column(name = "num" )
	private String num;

	/**
	 * 中卡上传卡片地址
	 */
   	@Column(name = "img" )
	private String img;

	/**
	 * 组团用户订单id
	 */
   	@Column(name = "user_order_id" )
	private Long userOrderId;

	/**
	 * 球队logo
	 */
   	@Column(name = "logo" )
	private String logo;

	/**
	 * 球员图片
	 */
   	@Column(name = "picture" )
	private String picture;

	/**
	 * 购买数量
	 */
   	@Column(name = "copies" )
	private Integer copies;

	/**
	 * 0= 未解锁,1=已解锁
	 */
   	@Column(name = "lock_status" )
	private Integer lockStatus;

	/**
	 * 审核意见
	 */
   	@Column(name = "reviewmsg" )
	private String reviewmsg;

   	@Column(name = "zn_title" )
	private String znTitle;

   	@Column(name = "zn_player_name" )
	private String znPlayerName;

   	@Column(name = "user_nickname" )
	private String userNickname;

   	@Column(name = "user_avatar" )
	private String userAvatar;

   	@Column(name = "zn_team" )
	private String znTeam;

   	@Column(name = "top_sort" )
	private Long topSort;

   	@Column(name = "anonymous" )
	private Boolean anonymous;

   	@Column(name = "free_flag" )
	private Integer freeFlag;

	/**
	 * 0未选中，1=选中
	 */
   	@Column(name = "selected" )
	private Integer selected;

	/**
	 * 单价
	 */
   	@Column(name = "price" )
	private BigDecimal price;

	/**
	 * 活动价/竞价最低价
	 */
   	@Column(name = "act_price" )
	private BigDecimal actPrice;

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

	/**
	 * 竞价类型
	 */
   	@Column(name = "auction_type" )
	private String auctionType;

	/**
	 * 变动价格
	 */
   	@Column(name = "auction_change_price" )
	private BigDecimal auctionChangePrice;

	/**
	 * 竞价无人出价时延时确认时间(分钟)
	 */
   	@Column(name = "auction_finished_delayed" )
	private Integer auctionFinishedDelayed;

	/**
	 * 竞价售出价
	 */
   	@Column(name = "auction_finished_price" )
	private BigDecimal auctionFinishedPrice;

	/**
	 * 删除标记
	 */
   	@Column(name = "del_flag" )
	private Integer delFlag;

	/**
	 * 删除时间
	 */
   	@Column(name = "del_time" )
	private Date delTime;

   	@Column(name = "player_id" )
	private Long playerId;

   	@Column(name = "team_id" )
	private Long teamId;

	/**
	 * 区域
	 */
   	@Column(name = "conference" )
	private String conference;

	/**
	 * 球队简称
	 */
   	@Column(name = "simple_team_name" )
	private String simpleTeamName;

	/**
	 * 中卡卡编json
	 */
   	@Column(name = "real_num_json" )
	private String realNumJson;

	/**
	 * 转换随机卡密标记,默认0.标记1
	 */
   	@Column(name = "change_status" )
	private Integer changeStatus;

	/**
	 * 卡密所属,默认1
	 */
   	@Column(name = "copies_type" )
	private Integer copiesType;

	/**开卡动作*/
	private String carmichaelImg;

	private Date updateTime;

}
