package cn.superdesk.uniorder.dto.param.accounting.unified.customer;

import cn.superdesk.uniorder.common.json.deserializer.DateTimeConvertDeserializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@Data
public class UnifiedCustomerCreateDimOrderParam implements Serializable {

	private static final long serialVersionUID = -8995904953004049375L;

	/**
	 * 订单Id集合
	 */
	private String ids;


	// ctrl 层 计算 前端 没传
	private BigDecimal dzMoney;
	private Integer    orderQuantity;

	/****************************************** 前端传过来 start ******************************************/

	/**
	 * 这个是周期类型？1-发货时间;2-下单时间;3-完成时间;
	 */
	private Integer dateType;
	@JsonDeserialize(using = DateTimeConvertDeserializer.class)
	private Date    startTime;
	@JsonDeserialize(using = DateTimeConvertDeserializer.class)
	private Date    endTime;

	/**
	 * 是否发送邮件:1-是;0-否;
	 */
	private Integer isSendEmail;
	/**
	 * 收件人邮箱
	 */
	private String  emailAddress;


	@ApiModelProperty("下单人Id")
	private Long   purchaseUserId;
	@ApiModelProperty("下单人姓名")
	private String purchaseUserName;
	@ApiModelProperty("下单人联系电话")
	private String purchasePhone;

	// 关联的是我们的收款主体?
	private Long bankInfoId;

	private String serviceNo;
	/****************************************** 前端传过来   end ******************************************/

}
