package com.iformall.domain.vo;


import com.iformall.domain.po.WxCardInfo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.persistence.Transient;
import java.util.Date;
import java.util.List;

@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class WxCardVo extends WxCardInfo {

	/** 券类型信息 */
	/**封面图**/
	@io.swagger.annotations.ApiModelProperty(value="封面图",name="coverImg")
	private String coverImg;
	/**券名称**/
	@io.swagger.annotations.ApiModelProperty(value="券名称",name="title")
	private String title;
	/**副标题**/
	@io.swagger.annotations.ApiModelProperty(value="副标题",name="subTitle")
	private String subTitle;
	/**单位**/
	@io.swagger.annotations.ApiModelProperty(value="单位0:钱分，1:小时",name="unit")
	private Integer unit;
	/**须知**/
	@io.swagger.annotations.ApiModelProperty(value="须知",name="detail")
	private String detail;
	/**购买须知**/
	@io.swagger.annotations.ApiModelProperty(value="购买须知",name="remark")
	private String remark;

	/**面额**/
	@io.swagger.annotations.ApiModelProperty(value = "面额", name = "price")
	private Integer price;
	/**购买金额**/
	@io.swagger.annotations.ApiModelProperty(value = "购买金额", name = "salePrice")
	private Integer salePrice;
	/**补贴类型**/
	@io.swagger.annotations.ApiModelProperty(value = "补贴类型", name = "subsidyType")
	private Integer subsidyType;
	/**补贴金额**/
	@io.swagger.annotations.ApiModelProperty(value = "补贴金额", name = "subsidyNum")
	private Integer subsidyNum;


	/**购买人ID*/
	@io.swagger.annotations.ApiModelProperty(value = "购买人ID", name = "cuserId")
	private Long cuserId;
	/**持有者ID*/
	@io.swagger.annotations.ApiModelProperty(value = "持有者ID", name = "ownerId")
	private Long ownerId;
	/**该订单对应券的实际过期时间**/
	@io.swagger.annotations.ApiModelProperty(value = "该订单对应券的实际过期时间 ", name = "expiredTime")
	private Date expiredTime;

	/**状态**/
	@io.swagger.annotations.ApiModelProperty(value = "状态", name = "status")
	private Integer status;


	/**购买人昵称*/
	@io.swagger.annotations.ApiModelProperty(value="购买人昵称",name="cnickName")
	private String cnickName;
	/**持有人昵称*/
	@io.swagger.annotations.ApiModelProperty(value="持有人昵称",name="onickName")
	private String onickName;

	/**持有人绑定的手机号**/
	@io.swagger.annotations.ApiModelProperty(value="持有人绑定的手机号",name="ouPhone")
	private String ouPhone;

	@Transient
	protected List<Integer> statusS;

	@Transient
	protected String statusStr;

	@Transient
	@io.swagger.annotations.ApiModelProperty(value="开始时间",name="startdate")
	private Date startdate;

	@Transient
	@io.swagger.annotations.ApiModelProperty(value="结束时间",name="enddate")
	private Date enddate;
}
