|
|
@@ -31,286 +31,14 @@ public class <<ym:databaseTable.tableNameUpper>> extends Model<<<ym:databaseTabl
|
|
|
<<ym-loop:DatabaseFields>>
|
|
|
/**
|
|
|
* <<fieldTitle>>
|
|
|
- */
|
|
|
- @Schema(description = "<<fieldTitle>>")
|
|
|
- @TableId(type = IdType.AUTO)
|
|
|
- private <<ym-if:<<fieldType>>="int">>Integer<</ym-if>><<ym-if:<<fieldType>>="bigint">>Long<</ym-if>><<ym-if:<<fieldType>>="datetime">>LocalDateTime<</ym-if>><<ym-if:<<fieldType>>="bit">>Boolean<</ym-if>><<ym-if:<<fieldType>>="bit">>Boolean<</ym-if>> <<fieldNameUpper>>;
|
|
|
+ */<<ym-if:"<<fieldType>>"="datetime" && "<<fieldName>>".start("create")>>
|
|
|
+ @TableField(fill = FieldFill.INSERT)<</ym-if>><<ym-if:"<<fieldType>>"="datetime" && "<<fieldName>>".start("update")>>
|
|
|
+ @TableField(fill = FieldFill.UPDATE)<</ym-if>>
|
|
|
+ @Schema(description = "<<fieldTitle>>")<<ym-if:<<autoIncrement>>>>
|
|
|
+ @TableId(type = IdType.AUTO)<</ym-if>><<ym-if:"<<fieldType>>"="datetime">>
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")<</ym-if>>
|
|
|
+ private <<ym-if:"<<fieldType>>"="int">>Integer<</ym-if>><<ym-if:"<<fieldType>>"="bigint">>Long<</ym-if>><<ym-if:"<<fieldType>>"="numeric">>BigDecimal<</ym-if>><<ym-if:"<<fieldType>>"="datetime">>LocalDateTime<</ym-if>><<ym-if:"<<fieldType>>"="bit">>Boolean<</ym-if>><<ym-if:"<<fieldType>>"!="bit" && "<<fieldType>>"!="bigint" && "<<fieldType>>"!="numeric" && "<<fieldType>>"!="datetime" && "<<fieldType>>"!="bit">>String<</ym-if>> <<fieldNameUpper>>;
|
|
|
|
|
|
|
|
|
<</ym-loop:DatabaseFields>>
|
|
|
- /**
|
|
|
- * 新增时间
|
|
|
- */
|
|
|
- @TableField(fill = FieldFill.INSERT)
|
|
|
- @Schema(description = "新增时间")
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- private LocalDateTime createTime;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 更新时间
|
|
|
- */
|
|
|
- @TableField(fill = FieldFill.UPDATE)
|
|
|
- @Schema(description = "更新时间")
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- private LocalDateTime updateTime;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 删除标记,0未删除,1已删除
|
|
|
- */
|
|
|
- @Schema(description = "删除标记,0未删除,1已删除")
|
|
|
- private String delFlag;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 版本
|
|
|
- */
|
|
|
- @Schema(description = "版本")
|
|
|
- private Integer version;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 机具码
|
|
|
- */
|
|
|
- @Schema(description = "机具码")
|
|
|
- private String posSn;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 仓库ID
|
|
|
- */
|
|
|
- @Schema(description = "仓库ID")
|
|
|
- private Integer warehouseId;
|
|
|
-
|
|
|
- /**
|
|
|
- * 仓库名称
|
|
|
- */
|
|
|
- @Schema(description = "仓库名称")
|
|
|
- private String warehouseName;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 所属创客ID
|
|
|
- */
|
|
|
- @Schema(description = "所属创客ID")
|
|
|
- private Integer userId;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 商户ID
|
|
|
- */
|
|
|
- @Schema(description = "商户ID")
|
|
|
- private Integer merchantId;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 品牌ID
|
|
|
- */
|
|
|
- @Schema(description = "品牌ID")
|
|
|
- private Integer brandId;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 循环状态 0不可循环 1可循环
|
|
|
- */
|
|
|
- @Schema(description = "循环状态 0不可循环 1可循环")
|
|
|
- private Integer recycleStatus;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 循环结束时间
|
|
|
- */
|
|
|
- @Schema(description = "循环结束时间")
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- private LocalDateTime recycleEndTime;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 机具类型 0兑换机 1循环机
|
|
|
- */
|
|
|
- @Schema(description = "机具类型 0兑换机 1循环机")
|
|
|
- private Integer machineType;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 机具押金
|
|
|
- */
|
|
|
- @Schema(description = "机具押金")
|
|
|
- private BigDecimal cashPledge;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 厂家押金
|
|
|
- */
|
|
|
- @Schema(description = "厂家押金")
|
|
|
- private BigDecimal sourcePledge;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 机具轨迹路径
|
|
|
- */
|
|
|
- @Schema(description = "机具轨迹路径")
|
|
|
- private String allotPath;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 绑定时间
|
|
|
- */
|
|
|
- @Schema(description = "绑定时间")
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- private LocalDateTime bindTime;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 激活时间
|
|
|
- */
|
|
|
- @Schema(description = "激活时间")
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- private LocalDateTime actTime;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 出库时间
|
|
|
- */
|
|
|
- @Schema(description = "出库时间")
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- private LocalDateTime deliveryTime;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 箱码
|
|
|
- */
|
|
|
- @Schema(description = "箱码")
|
|
|
- private String boxSn;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 机具费率
|
|
|
- */
|
|
|
- @Schema(description = "机具费率")
|
|
|
- private BigDecimal machineRatio;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 是否激活 0未激活 1已激活
|
|
|
- */
|
|
|
- @Schema(description = "是否激活 0未激活 1已激活")
|
|
|
- private Integer isAct;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 绑定状态 0未绑定 1已绑定 2已解绑
|
|
|
- */
|
|
|
- @Schema(description = "绑定状态 0未绑定 1已绑定 2已解绑")
|
|
|
- private Integer bindStatus;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 状态 -1坏机 0在库 1出库
|
|
|
- */
|
|
|
- @Schema(description = "状态 -1坏机 0在库 1出库")
|
|
|
- private Integer status;
|
|
|
-
|
|
|
- /**
|
|
|
- * 回收状态 0正常 1可回收
|
|
|
- */
|
|
|
- @Schema(description = "回收状态 0正常 1可回收 ")
|
|
|
- private Integer returnStatus;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 是否首台 0否 1是
|
|
|
- */
|
|
|
- @Schema(description = "是否首台 0否 1是")
|
|
|
- private Integer isFirst;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 费率调升标记
|
|
|
- */
|
|
|
- @Schema(description = "费率调升标记 0未调 1已调整")
|
|
|
- private Integer upFeeFlag;
|
|
|
-
|
|
|
- /**
|
|
|
- * 费率调降标记
|
|
|
- */
|
|
|
- @Schema(description = "费率调升标记 0未调 1已调整")
|
|
|
- private Integer downFeeFlag;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 盟主用户ID
|
|
|
- */
|
|
|
- @Schema(description = "盟主用户ID")
|
|
|
- private Integer leaderId;
|
|
|
-
|
|
|
- /**
|
|
|
- * 合伙人用户ID
|
|
|
- */
|
|
|
- @Schema(description = "合伙人用户ID")
|
|
|
- private Integer partnerId;
|
|
|
-
|
|
|
- /**
|
|
|
- * 预发到用户的ID
|
|
|
- */
|
|
|
- @Schema(description = "预发到用户的ID")
|
|
|
- private Integer preUserId;
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 补录标识 0未补录 1已补录
|
|
|
- */
|
|
|
- @Schema(description = "补录标识 0未补录 1已补录")
|
|
|
- private Integer isSupply;
|
|
|
-
|
|
|
- /**
|
|
|
- * 补激活奖标记 0未补录 1已补录
|
|
|
- */
|
|
|
- @Schema(description = "补录标识 0未补录 1已补录")
|
|
|
- private Integer isOpAct;
|
|
|
-
|
|
|
- /**
|
|
|
- * 业务批次号
|
|
|
- */
|
|
|
- @Schema(description = "业务批次号")
|
|
|
- private String batchNo;
|
|
|
-
|
|
|
- /**
|
|
|
- * 贷记卡交易额
|
|
|
- */
|
|
|
- @Schema(description = "贷记卡交易额")
|
|
|
- private BigDecimal creditTrade;
|
|
|
-
|
|
|
- /**
|
|
|
- * 借记卡交易额
|
|
|
- */
|
|
|
- @Schema(description = "借记卡交易额")
|
|
|
- private BigDecimal debitCardTrade;
|
|
|
-
|
|
|
- /**
|
|
|
- * 扫码交易额
|
|
|
- */
|
|
|
- @Schema(description = "扫码交易额")
|
|
|
- private BigDecimal scanQrTrade;
|
|
|
-
|
|
|
- /**
|
|
|
- * 溯源机具和兑换券
|
|
|
- */
|
|
|
- @Schema(description = "溯源机具和兑换券")
|
|
|
- private String sourcePosSn;
|
|
|
-
|
|
|
- /**
|
|
|
- * 机具地址
|
|
|
- */
|
|
|
- @Schema(description = "机具地址")
|
|
|
- private String devLocation;
|
|
|
-
|
|
|
- /**
|
|
|
- * 秒到费
|
|
|
- */
|
|
|
- @Schema(description = "秒到费")
|
|
|
- private BigDecimal secondFee;
|
|
|
-
|
|
|
-
|
|
|
}
|