package com.doumee.dao.business.model; import com.baomidou.mybatisplus.annotation.TableField; import com.doumee.core.annotation.excel.ExcelColumn; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import com.fasterxml.jackson.annotation.JsonFormat; import java.util.Date; import java.math.BigDecimal; /** * 订单记录表信息表Model定义 * @author doumee * @date 2026-02-02 11:10:42 */ @Data @TableName("orders") @ApiModel(value = "Orders 实体类") public class Orders { @ApiModelProperty("支付状态:0=未支付;1=已支付") @ExcelColumn(name="支付状态:0=未支付;1=已支付",index=1 ,width=10) @TableId(type = IdType.AUTO) private Integer id; @ApiModelProperty("是否已删除 0未删除 1已删除") @ExcelColumn(name="是否已删除 0未删除 1已删除",index=2 ,width=10) private Integer deleted; @ApiModelProperty("创建人编码") @ExcelColumn(name="创建人编码",index=3 ,width=10) private Integer createUser; @ApiModelProperty("创建时间") @ExcelColumn(name="创建时间",index=4 ,width=10) private Date createTime; @ApiModelProperty("更新人编码") @ExcelColumn(name="更新人编码",index=5 ,width=10) private Integer updateUser; @ApiModelProperty("更新时间") @ExcelColumn(name="更新时间",index=6 ,width=10) private Date updateTime; @ApiModelProperty("备注") @ExcelColumn(name="备注",index=7 ,width=10) private String remark; @ApiModelProperty("状态:0=处理中;1=已支付;2=支付失败;") @ExcelColumn(name="状态:0=处理中;1=已支付;2=支付失败;",index=8 ,width=10) private Integer status; @ApiModelProperty("主题") @ExcelColumn(name="主题",index=9 ,width=10) private String name; @ApiModelProperty("负责人编码(关联system_user)") @ExcelColumn(name="负责人编码(关联system_user)",index=10 ,width=10) private Integer userId; @ApiModelProperty("订单说明") @ExcelColumn(name="订单说明",index=11 ,width=10) private String detail; @ApiModelProperty("列表图") @ExcelColumn(name="列表图",index=12 ,width=10) private String imgurl; @ApiModelProperty("排序码(升序使用)") @ExcelColumn(name="排序码(升序使用)",index=13 ,width=10) private Integer sortnum; @ApiModelProperty("添加方式 0=车款;1=延期款;") @ExcelColumn(name="添加方式 0=车款;1=延期款;",index=14 ,width=10) private Integer type; @ApiModelProperty("品牌编码(关联category)") @ExcelColumn(name="品牌编码(关联category)",index=15 ,width=10) private Integer brandId; @ApiModelProperty("手机号") @ExcelColumn(name="手机号",index=16 ,width=10) private String phone; @ApiModelProperty("金额(分)") @ExcelColumn(name="金额(分)",index=17 ,width=10) private BigDecimal money; @ApiModelProperty("支付方式 0微信 1支付宝 2通联支付") @ExcelColumn(name="支付方式 0微信 1支付宝 2通联支付",index=18 ,width=10) private Integer payMethod; @ApiModelProperty("通联交易流水(支付宝、微信等平台订单号)") @ExcelColumn(name="通联交易流水(支付宝、微信等平台订单号)", width=10) private String payThirdOrderId; @ApiModelProperty("通联交易渠道数据(支付宝、微信、云闪付)") @ExcelColumn(name="通联交易渠道数据(支付宝、微信、云闪付)", width=10) private String payThirdOrderData; @ApiModelProperty("通联交易手续费") @ExcelColumn(name="通联交易手续费", width=10) private String payFee; @ApiModelProperty("通联交易结果说明") @ExcelColumn(name="通联交易结果说明)", width=10) private String payInfo; @ApiModelProperty("通联交易平台编号") @ExcelColumn(name="通联交易平台编号)", width=10) private String payCode; @ApiModelProperty("通联交易流水") @ExcelColumn(name="通联交易流水",index=19 ,width=10) private String payOrderId; @ApiModelProperty("支付时间") @ExcelColumn(name="支付时间",index=20 ,width=10) private Date payDate; @ApiModelProperty("取消时间") @ExcelColumn(name="取消时间",index=21 ,width=10) private Date cancelDate; @ApiModelProperty("取消方式 0自动取消;1手动取消") @ExcelColumn(name="取消方式 0自动取消;1手动取消",index=22 ,width=10) private Integer cancelWay; @ApiModelProperty("取消备注") @ExcelColumn(name="取消备注",index=23 ,width=10) private String cancelInfo; @ApiModelProperty("取消人编码(关联system_user)") @ExcelColumn(name="取消人编码(关联system_user)",index=24 ,width=10) private Integer cancelUserId; @ApiModelProperty("取消状态 0处理中 1成功 2失败") @ExcelColumn(name="取消状态 0处理中 1成功 2失败",index=25 ,width=10) private Integer cancelStatus; @ApiModelProperty("支付状态:0=未支付;1=已支付;") @ExcelColumn(name="支付状态:0=未支付;1=已支付",index=26 ,width=10) private Integer payStatus; @ApiModelProperty("开始时间") @TableField(exist = false) private Date starttime; @ApiModelProperty("截止时间") @TableField(exist = false) private Date endtime; @ApiModelProperty("负责人登陆") @TableField(exist = false) private String username; @ApiModelProperty("负责人姓名") @TableField(exist = false) private String userRealname; @ApiModelProperty("统计量") @TableField(exist = false) private Long num; }