package com.doumee.dao.business.model; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatisplus.annotation.TableName; import com.doumee.core.annotation.excel.ExcelColumn; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import io.swagger.models.auth.In; import lombok.Data; import java.math.BigDecimal; import java.util.Date; /** * 订单信息表 * @author 江蹄蹄 * @date 2023/09/27 18:06 */ @Data @ApiModel("订单信息表") @TableName("\"goodsorder\"") public class Goodsorder { @ApiModelProperty(value = "编码") @ExcelColumn(name="编码") private String id; @ApiModelProperty(value = "创建时间") @ExcelColumn(name="创建时间") //@JsonFormat(pattern = "yyyy-MM-dd") private Date createDate; @ApiModelProperty(value = "创建人") @ExcelColumn(name="创建人") private String creator; @ApiModelProperty(value = "编辑时间") @ExcelColumn(name="编辑时间") //@JsonFormat(pattern = "yyyy-MM-dd") private Date editDate; @ApiModelProperty(value = "编辑人") @ExcelColumn(name="编辑人") private String editor; @ApiModelProperty(value = "是否已删除 0未删除 1已删除", example = "1") @ExcelColumn(name="是否已删除 0未删除 1已删除") @TableLogic private Integer isdeleted; @ApiModelProperty(value = "备注") @ExcelColumn(name="备注") private String info; @ApiModelProperty(value = "订单编码") @ExcelColumn(name="订单编码") private String code; @ApiModelProperty(value = "用户编码(关联member表)") @ExcelColumn(name="用户编码(关联member表)") private String memberId; @ApiModelProperty(value = "用户编码(关联member表)") @ExcelColumn(name="用户名称(关联member表)") @TableField(exist = false) private String memberName; @ApiModelProperty(value = "交易金额") @ExcelColumn(name="交易金额") private BigDecimal money; @ApiModelProperty(value = "状态 0待支付 1已支付 2已取消 3支付失败 4已结算") @ExcelColumn(name="状态 0待支付 1已支付 2已取消 3支付失败 4已结算") private Integer status; @ApiModelProperty(value = "交易预订单号") @ExcelColumn(name="交易预订单号") private String preOrderid; @ApiModelProperty(value = "在线交易单号") @ExcelColumn(name="在线交易单号") private String onlineOrderid; @ApiModelProperty(value = "支付状态 0待支付 1已支付") @ExcelColumn(name="支付状态 0待支付 1已支付") private Integer payStatus; @ApiModelProperty(value = "支付方式 0微信 1支付宝") @ExcelColumn(name="支付方式 0微信 1支付宝") private Integer payWay; @ApiModelProperty(value = "支付时间") @ExcelColumn(name="支付时间") private Date payDate; @ApiModelProperty(value = "交易类型 0租车押金") @ExcelColumn(name="交易类型 0租车押金") private Integer type; @ApiModelProperty(value = "结算金额(分)") @ExcelColumn(name="结算金额(分)") private BigDecimal closeMoney; @ApiModelProperty(value = "结算退款单号(关联refund)") @ExcelColumn(name="结算退款单号(关联refund)") private String closeId; @ApiModelProperty(value = "结算时间") @ExcelColumn(name="结算时间") private Date closeDate; @ApiModelProperty(value = "结算备注") @ExcelColumn(name="结算备注") private String closeInfo; @ApiModelProperty(value = "结算操作人编码(关联system_user)") @ExcelColumn(name="结算操作人编码(关联system_user)") private String closeUserId; @ApiModelProperty(value = "结算类型 0自动结算 1平台人工结算 2系统自动结算") @ExcelColumn(name="结算类型 0自动结算 1平台人工结算 2系统自动结算") private Integer closeType; }