package com.winsun.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * < >
 * @Author  pxl
 * @Date 2020-06-03 
 */

@Data
@TableName ("hhr_sales_order")
public class SalesOrder implements Serializable {

	private static final long serialVersionUID =  2343924625836989316L;

	@TableId(value = "id",type = IdType.AUTO)
	private Integer id;

	/**
	 * 订单号码
	 */
   	@TableField("order_phone" )
	private String orderPhone;

	/**
	 * 放号人Id
	 */
   	@TableField("user_id" )
	private String userId;

	/**
	 * 放号人
	 */
   	@TableField("name" )
	private String name;

	/**
	 * 放号人账号
	 */
   	@TableField("account" )
	private String account;

   	@TableField("create_time" )
	private Date createTime;

	/**
	 * 审核状态
	 */
   	@TableField("status" )
	private Integer status;

	/**
	 * 审核备注
	 */
   	@TableField("remark" )
	private String remark;

	/**
	 * 销售县分
	 */
   	@TableField("sales_subst" )
	private String salesSubst;

	/**
	 * 销售学校
	 */
   	@TableField("sales_school" )
	private String salesSchool;

	/**
	 * 匹配时间
	 */
   	@TableField("audit_time" )
	private Date auditTime;

	/**
	 * 佣金状态
	 */
   	@TableField("bonus_status" )
	private Integer bonusStatus;

	/**
	 * 订单类型
	 */
   	@TableField("order_type" )
	private Integer orderType;

	/**
	 * 订单号
	 */
   	@TableField("order_num" )
	private String orderNum;

	/**
	 * 升级套餐
	 */
   	@TableField("upgrade_combo" )
	private String upgradeCombo;

	/**
	 * 原套餐
	 */
   	@TableField("old_combo" )
	private String oldCombo;

	/**
	 * 删除标价 0:未删除 1：已删除
	 */
   	@TableField("del_flag" )
	private Integer delFlag;

	/**
	 * 号码激活时间
	 */
   	@TableField("activate_time" )
	private Date activateTime;

	/**
	 * 号码所属网点编码
	 */
   	@TableField("network_code" )
	private String networkCode;

	/**
	 * 号码所属网点
	 */
   	@TableField("network_name" )
	private String networkName;

	/**
	 * 总佣金
	 */
   	@TableField("all_bonus" )
	private Double allBonus;

	/**
	 * 未发放佣金
	 */
   	@TableField("non_send_bonus" )
	private Double nonSendBonus;

	/**
	 * 已发放佣金
	 */
   	@TableField("send_bonus" )
	private Double sendBonus;

	/**
	 * 最近充值佣金
	 */
   	@TableField("recently_bonus" )
	private Double recentlyBonus;

	/**
	 * 最近充值金额
	 */
   	@TableField("recently_amount" )
	private Double recentlyAmount;

	/**
	 * 累计充值佣金
	 */
   	@TableField("month_bonus" )
	private Double monthBonus;

	/**
	 * 累计充值金额
	 */
   	@TableField("month_amount" )
	private Double monthAmount;

	/**
	 * 号码套餐
	 */
   	@TableField("cdma_disc_desc" )
	private String cdmaDiscDesc;

   	@TableField("capital_bonus" )
	private Double capitalBonus;

}
