package com.iformall.domain.vo;

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

import java.util.List;

@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class WxOrderPayVo extends WxOrder {

	/**发券商户信息*/
	@io.swagger.annotations.ApiModelProperty(value="商户名",name="merchantName")
	private String merchantName;
	@io.swagger.annotations.ApiModelProperty(value="b端用户姓名",name="bUserName")
	private String bUserName;
	@io.swagger.annotations.ApiModelProperty(value="b端用户手机号",name="bUserPhone")
	private String bUserPhone;

	@io.swagger.annotations.ApiModelProperty(value="c用户绑定的手机号",name="cUserPhone")
	private String cUserPhone;

	@io.swagger.annotations.ApiModelProperty(value="c用户昵称",name="nickName")
	private String nickName;

	@io.swagger.annotations.ApiModelProperty(value="c用户名",name="cUserName")
	private String cUserName;

	public static enum Field
	{
		Id_ASC("`id` ASC"),Id_DESC("`id` DESC")
		,OrderNumber_ASC("`order_number` ASC"),OrderNumber_DESC("`order_number` DESC")
		,TenantId_ASC("`tenant_id` ASC"),TenantId_DESC("`tenant_id` DESC")
		,CUserId_ASC("`c_user_id` ASC"),CUserId_DESC("`c_user_id` DESC")
		,CouponId_ASC("`product_id` ASC"),CouponId_DESC("`product_id` DESC")
		,PaymentType_ASC("`payment_type` ASC"),PaymentType_DESC("`payment_type` DESC")
		,Payment_ASC("`payment` ASC"),Payment_DESC("`payment` DESC")
		,PaymentTime_ASC("`payment_time` ASC"),PaymentTime_DESC("`payment_time` DESC")
		,OrderStatus_ASC("`order_status` ASC"),OrderStatus_DESC("`order_status` DESC")
		,CreateDate_ASC("`create_date` ASC"),CreateDate_DESC("`create_date` DESC")
		,UpdateDate_ASC("`update_date` ASC"),UpdateDate_DESC("`update_date` DESC")
		,Detail_ASC("`detail` ASC"),Detail_DESC("`detail` DESC")
		;
		private String value;
		Field(String value){
			this.value = value;
		}
		public String getValue() {
			return value;
		}
		public void setCol(String value) {
			this.value = value;
		}
		@Override
		public String toString() {
			return this.getValue();
		}
	}


}
