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  Hunter
 * @Date 2022-02-16 
 */

@Table ( name ="card_group_info" )
@Data
public class CardGroupInfo  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 = "appid" )
	private String appid;

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

	/**
	 * 属性配置ids
	 */
   	@Column(name = "property_config_ids" )
	private String propertyConfigIds;

	/**
	 * 编码
	 */
   	@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 = "total_price" )
	private BigDecimal totalPrice;

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

	/**
	 * 单份售价
	 */
   	@Column(name = "unit_price" )
	private BigDecimal unitPrice;

	/**
	 * 售出份数
	 */
   	@Column(name = "sold_copies" )
	private Long soldCopies;

	/**
	 * 发布时间
	 */
   	@Column(name = "release_time" )
	private String releaseTime;

	/**
	 * 销售周期
	 */
   	@Column(name = "cycle" )
	private String cycle;

	/**
	 * 是否在小程序显示
	 */
   	@Column(name = "show_applet" )
	private String showApplet;

	/**
	 * 商品子标题
	 */
   	@Column(name = "title" )
	private String title;

	/**
	 * 封面
	 */
   	@Column(name = "cover_picture" )
	private String coverPicture;

	/**
	 * 详情描述
	 */
   	@Column(name = "msg" )
	private String msg;

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

	/**
	 * 创建人
	 */
   	@Column(name = "create_by" )
	private String createBy;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_time" )
	private Date createTime;

	/**
	 * 更新人
	 */
   	@Column(name = "update_by" )
	private String updateBy;

	/**
	 * 更新时间
	 */
   	@Column(name = "update_time" )
	private Date updateTime;

	/**
	 * 每笔订单最少购买
	 */
   	@Column(name = "order_quota_min" )
	private Long orderQuotaMin;

	/**
	 * 每笔订单最多购买
	 */
   	@Column(name = "order_quota_max" )
	private Long orderQuotaMax;

	/**
	 * 用户最多购买
	 */
   	@Column(name = "user_quota_max" )
	private Long userQuotaMax;

	/**
	 * 计划开售时间
	 */
   	@Column(name = "start_time" )
	private Date startTime;

	/**
	 * 营销信息
	 */
   	@Column(name = "marketing_info" )
	private String marketingInfo;

	/**
	 * 审核描述
	 */
   	@Column(name = "reviewmsg" )
	private String reviewmsg;

	/**
	 * 锁定状态
	 */
   	@Column(name = "lock" )
	private Boolean lock;

	/**
	 * 佣金比例（百分比）
	 */
   	@Column(name = "commission_rate" )
	private String commissionRate;

	/**
	 * 年份
	 */
   	@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 = "sort_default" )
	private Long sortDefault;

	/**
	 * 首页排序
	 */
   	@Column(name = "sort_query" )
	private Long sortQuery;

	/**
	 * 活动
	 */
   	@Column(name = "act" )
	private String act;

	/**
	 * 拼团配置
	 */
   	@Column(name = "config" )
	private String config;

   	@Column(name = "total_num" )
	private Long totalNum;

   	@Column(name = "info_config" )
	private String infoConfig;

   	@Column(name = "banner_end_time" )
	private Date bannerEndTime;

   	@Column(name = "add_banner" )
	private String addBanner;

	/**
	 * 结束时间
	 */
   	@Column(name = "finished_time" )
	private Date finishedTime;

	/**
	 * 系列别名（显示名）
	 */
   	@Column(name = "display_name" )
	private String displayName;

	/**
	 * 同商家，同系列 序号
	 */
   	@Column(name = "group_sets_no" )
	private Long groupSetsNo;

	/**
	 * 打款日期（确认发货日期 后5个工作日）
	 */
   	@Column(name = "close_payment_time" )
	private Date closePaymentTime;

	/**
	 * 确认发货日期
	 */
   	@Column(name = "confirm_send_time" )
	private Date confirmSendTime;

	/**
	 * 结算状态：100=未结束，101=待申请，201=审核中，202=驳回，203=审核通过/待打款，301=打款成功/结束结算
	 */
   	@Column(name = "close_payment_status" )
	private Integer closePaymentStatus;

   	@Column(name = "open_card" )
	private Integer openCard;

	/**
	 * 结款记录
	 */
   	@Column(name = "close_payment_record" )
	private String closePaymentRecord;

	/**
	 * 组齐时间
	 */
   	@Column(name = "group_full_time" )
	private Date groupFullTime;

	/**
	 * 直播创建时间
	 */
   	@Column(name = "live_create_time" )
	private Date liveCreateTime;

	/**
	 * 直播开播时间
	 */
   	@Column(name = "live_start_time" )
	private Date liveStartTime;

	/**
	 * 直播结束时间
	 */
   	@Column(name = "live_end_time" )
	private Date liveEndTime;

	/**
	 * 报告开始时间
	 */
   	@Column(name = "report_start_time" )
	private Date reportStartTime;

	/**
	 * 报告结束时间
	 */
   	@Column(name = "report_end_time" )
	private Date reportEndTime;

	/**
	 * 报告审核次数
	 */
   	@Column(name = "report_review_num" )
	private Integer reportReviewNum;

	/**
	 * 报告第一次审核时间
	 */
   	@Column(name = "report_review_first_time" )
	private Date reportReviewFirstTime;

	/**
	 * 报告最后一次审核时间
	 */
   	@Column(name = "report_review_end_time" )
	private Date reportReviewEndTime;

	/**
	 * 组队提交审核时间
	 */
   	@Column(name = "review_hold_time" )
	private Date reviewHoldTime;

	/**
	 * 组队审核通过时间
	 */
   	@Column(name = "review_approval_time" )
	private Date reviewApprovalTime;

	/**
	 * 组队审核次数（驳回次数）
	 */
   	@Column(name = "review_num" )
	private Long reviewNum;

   	@Column(name = "config_json" )
	private String configJson;

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

	/**
	 * 买对玩法，改变之后的组队方式
	 */
   	@Column(name = "change_type" )
	private String changeType;

	/**
	 * 优惠活动设置
	 */
   	@Column(name = "act_config_json" )
	private String actConfigJson;

	/**
	 * 私域活动价
	 */
   	@Column(name = "act_price" )
	private String actPrice;

	/**
	 * 实际售卖数量
	 */
   	@Column(name = "real_sold_num" )
	private Long realSoldNum;

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

	private Integer merchantSort;

	/**公式报告类型 1:新 默认0:旧*/
	private Integer reportFlag;
	private Integer paniniListId;
	private Integer goodsType;



}
