package org.jeecg.modules.shop.order.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

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

/**
 * @Description: 合作伙伴订单
 * @Author: jeecg-boot
 * @Date:   2025-07-16
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="partner_order对象", description="合作伙伴订单")
public class PartnerOrderVO implements Serializable {
    private static final long serialVersionUID = 1L;

	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "金蝶创建时间")
    private Date jdCreateTime;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "佣金发放时间")
    private Date giveTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**编号*/
    @ApiModelProperty(value = "编号")
    private String billNo;
	/**用户id*/
    @ApiModelProperty(value = "用户id")
    private String userId;
	/**客户id*/
    @ApiModelProperty(value = "客户id")
    private String customerId;
    @ApiModelProperty(value = "客户name")
    private String customerName;
	/**订单确认状态0未确认 1已确认*/
    @ApiModelProperty(value = "订单确认状态0未确认 1已确认")
    private Integer orderState;
	/**订单编码*/
    @ApiModelProperty(value = "订单编码")
    private String orderCode;
	/**订单金额*/
    @ApiModelProperty(value = "订单金额")
    private BigDecimal money;
	/**出运金额*/
    @ApiModelProperty(value = "出运金额")
    private BigDecimal transportationMoney;
	/**佣金CNY*/
    @ApiModelProperty(value = "佣金CNY")
    private BigDecimal commissionCny;
	/**佣金USD*/
    @ApiModelProperty(value = "佣金USD")
    private BigDecimal commissionUsd;

    @ApiModelProperty(value = "订单确认状态0未确认 1已确认")
    private Integer commissionState;
}
