SoOrderdetailEntity.java 9.08 KB
Newer Older
412743165@qq.com committed
1 2 3 4 5 6 7 8 9 10 11
package com.jarvis.dataCenter.entity.prod;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jarvis.lib.common.mybatisplus.entity.AbstractEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
12

412743165@qq.com committed
13 14
/**
 * <p>
15
 * ENTITY
412743165@qq.com committed
16 17 18 19 20 21 22 23 24 25
 * </p>
 *
 * @author jinzhaopo
 * @since 2019-10-22
 */
@Data
@TableName("so_orderdetail")
public class SoOrderdetailEntity extends AbstractEntity {

    private static final long serialVersionUID = 1L;
26

412743165@qq.com committed
27 28 29 30 31
    /**
     * 自增长
     */
    @TableId(value = ID, type = IdType.AUTO)
    private Integer id;
32

412743165@qq.com committed
33 34 35 36 37
    /**
     * 销售订单编号
     */
    @TableField(ORDERMASTERCODE)
    private String orderMasterCode;
38

412743165@qq.com committed
39 40 41 42 43
    /**
     * 发货单编号 SO+2位年+2位月+2位日+4位流水+2位流水(已作废)
     */
    @TableField(INVOICECODE)
    private String invoiceCode;
44

412743165@qq.com committed
45 46 47 48 49
    /**
     * sku编号
     */
    @TableField(SKUCODE)
    private String skuCode;
50

412743165@qq.com committed
51 52 53 54 55
    /**
     * 单价
     */
    @TableField(PRICE)
    private BigDecimal price;
56

412743165@qq.com committed
57 58 59 60 61
    /**
     * 订货数量
     */
    @TableField(ORDERCNT)
    private Integer orderCnt;
62

412743165@qq.com committed
63 64 65 66 67
    /**
     * 预计发货数量(已作废)
     */
    @TableField(TEMPCNT)
    private Integer tempCnt;
68

412743165@qq.com committed
69 70 71 72 73
    /**
     * 发货数量
     */
    @TableField(DELIVERYCNT)
    private Integer deliveryCnt;
74

412743165@qq.com committed
75 76 77 78 79
    /**
     * 收货数量
     */
    @TableField(RECEIVECNT)
    private Integer receiveCnt;
80

412743165@qq.com committed
81 82 83 84 85
    /**
     * 缺货数量
     */
    @TableField(OUTAGE_QUANTITY)
    private Integer outageQuantity;
86

412743165@qq.com committed
87 88 89 90 91
    /**
     * 取消数量
     */
    @TableField(REJECTED_QUANTITY)
    private Integer rejectedQuantity;
92

412743165@qq.com committed
93 94 95 96 97
    /**
     * 已处理数量
     */
    @TableField(PENDINGCNT)
    private Integer pendingCnt;
98

412743165@qq.com committed
99 100 101 102 103
    /**
     * 补货数量
     */
    @TableField(REDELIVERY_QUANTITY)
    private Integer redeliveryQuantity;
104

412743165@qq.com committed
105 106 107 108 109
    /**
     * 缺货售后数量
     */
    @TableField(CS_STOCKOUT_CNT)
    private Integer csStockoutCnt;
110

412743165@qq.com committed
111 112 113 114 115
    /**
     * 待处理售后数量
     */
    @TableField(CS_PENDING_CNT)
    private Integer csPendingCnt;
116

412743165@qq.com committed
117 118 119 120 121
    /**
     * 待收货售后数量
     */
    @TableField(CS_DELIVERY_CNT)
    private Integer csDeliveryCnt;
122

412743165@qq.com committed
123 124 125 126 127
    /**
     * 已完成售后数量
     */
    @TableField(CS_RECEIVE_CNT)
    private Integer csReceiveCnt;
128

412743165@qq.com committed
129 130 131 132 133
    /**
     * 备注
     */
    @TableField(MEMO)
    private String memo;
134

412743165@qq.com committed
135 136 137 138 139
    /**
     * 是否关闭
     */
    @TableField(ISCLOSE)
    private Integer isClose;
140

412743165@qq.com committed
141 142 143 144 145
    /**
     * 售后单号
     */
    @TableField(CSORDERCODE)
    private String csOrderCode;
146

412743165@qq.com committed
147 148 149 150 151
    /**
     * 补货订单和采购订单互相关联的销售单号
     */
    @TableField(RELATION_SO_CODE)
    private String relationSoCode;
152

412743165@qq.com committed
153 154 155 156 157
    /**
     * 创建人
     */
    @TableField(CREATOR)
    private String creator;
158

412743165@qq.com committed
159 160 161 162 163
    /**
     * 修改人
     */
    @TableField(EDITOR)
    private String editor;
164

412743165@qq.com committed
165 166 167 168 169
    /**
     * 创建时间
     */
    @TableField(CREATEDTIME)
    private Date createdTime;
170

412743165@qq.com committed
171 172 173 174 175
    /**
     * 更新时间
     */
    @TableField(UPDATEDTIME)
    private Date updatedTime;
176

412743165@qq.com committed
177 178 179 180 181
    /**
     * 促销分摊金额
     */
    @TableField(PROPRICE)
    private BigDecimal proPrice;
182

412743165@qq.com committed
183 184 185 186 187
    /**
     * 促销标记 0:不显示 1:显示
     */
    @TableField(PROTYPE)
    private Integer proType;
188

412743165@qq.com committed
189 190 191 192 193
    /**
     * 补货订单和采购订单互相关联的发货单号
     */
    @TableField(RELATIONINVOICECODE)
    private String relationInvoiceCode;
194

412743165@qq.com committed
195 196 197 198 199
    /**
     * 客服备注
     */
    @TableField(CUSTOMERSERVICEREMARK)
    private String customerServiceRemark;
200

412743165@qq.com committed
201 202 203 204 205
    /**
     * bus_promotionmaster->id, 促销活动主表Id
     */
    @TableField(PROMOTIONID)
    private Integer promotionId;
206

412743165@qq.com committed
207 208 209 210 211
    /**
     * 优惠券分摊金额
     */
    @TableField(PROMOTIONPRICE)
    private BigDecimal promotionPrice;
212

412743165@qq.com committed
213 214 215 216 217
    /**
     * 商品优惠明细备注
     */
    @TableField(PROMOTIONREMARK)
    private String promotionRemark;
218

412743165@qq.com committed
219 220 221 222 223
    /**
     * 换货商品价值
     */
    @TableField(BARTER_VALUE)
    private BigDecimal barterValue;
224

412743165@qq.com committed
225 226 227 228 229
    /**
     * 充值卡分摊金额
     */
    @TableField(RECHARGECARDPRICE)
    private BigDecimal rechargeCardPrice;
230

412743165@qq.com committed
231 232 233 234 235
    /**
     * 商品优惠明细备注
     */
    @TableField(PROMOTIONSNAPSHOT)
    private String promotionSnapshot;
236

412743165@qq.com committed
237 238 239 240 241
    /**
     * 新发货数据迁移脚本标记(so单标记)
     */
    @TableField(RECOVER_MEMO)
    private String recoverMemo;
242

412743165@qq.com committed
243 244 245 246 247
    /**
     * 新发货数据迁移脚本标记(详情关闭标记)
     */
    @TableField(RECOVER_CLOSE)
    private String recoverClose;
248

412743165@qq.com committed
249 250 251 252 253
    /**
     * 新发货数据迁移脚本标记(重复单据合并)
     */
    @TableField(REAPT_FLAG)
    private String reaptFlag;
254

412743165@qq.com committed
255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458
    /**
     * 新发货数据迁移脚本标记(新增详情备注)
     */
    @TableField(NEW_DETAIL_FLAG)
    private String newDetailFlag;


    /**
     * 自增长
     */
    public static final String ID = "id";

    /**
     * 销售订单编号
     */
    public static final String ORDERMASTERCODE = "orderMasterCode";

    /**
     * 发货单编号 SO+2位年+2位月+2位日+4位流水+2位流水(已作废)
     */
    public static final String INVOICECODE = "invoiceCode";

    /**
     * sku编号
     */
    public static final String SKUCODE = "skuCode";

    /**
     * 单价
     */
    public static final String PRICE = "price";

    /**
     * 订货数量
     */
    public static final String ORDERCNT = "orderCnt";

    /**
     * 预计发货数量(已作废)
     */
    public static final String TEMPCNT = "tempCnt";

    /**
     * 发货数量
     */
    public static final String DELIVERYCNT = "deliveryCnt";

    /**
     * 收货数量
     */
    public static final String RECEIVECNT = "receiveCnt";

    /**
     * 缺货数量
     */
    public static final String OUTAGE_QUANTITY = "outage_quantity";

    /**
     * 取消数量
     */
    public static final String REJECTED_QUANTITY = "rejected_quantity";

    /**
     * 已处理数量
     */
    public static final String PENDINGCNT = "pendingCnt";

    /**
     * 补货数量
     */
    public static final String REDELIVERY_QUANTITY = "redelivery_quantity";

    /**
     * 缺货售后数量
     */
    public static final String CS_STOCKOUT_CNT = "cs_stockout_cnt";

    /**
     * 待处理售后数量
     */
    public static final String CS_PENDING_CNT = "cs_pending_cnt";

    /**
     * 待收货售后数量
     */
    public static final String CS_DELIVERY_CNT = "cs_delivery_cnt";

    /**
     * 已完成售后数量
     */
    public static final String CS_RECEIVE_CNT = "cs_receive_cnt";

    /**
     * 备注
     */
    public static final String MEMO = "memo";

    /**
     * 是否关闭
     */
    public static final String ISCLOSE = "isClose";

    /**
     * 售后单号
     */
    public static final String CSORDERCODE = "csOrderCode";

    /**
     * 补货订单和采购订单互相关联的销售单号
     */
    public static final String RELATION_SO_CODE = "relation_so_code";

    /**
     * 创建人
     */
    public static final String CREATOR = "creator";

    /**
     * 修改人
     */
    public static final String EDITOR = "editor";

    /**
     * 创建时间
     */
    public static final String CREATEDTIME = "createdTime";

    /**
     * 更新时间
     */
    public static final String UPDATEDTIME = "updatedTime";

    /**
     * 促销分摊金额
     */
    public static final String PROPRICE = "proPrice";

    /**
     * 促销标记 0:不显示 1:显示
     */
    public static final String PROTYPE = "proType";

    /**
     * 补货订单和采购订单互相关联的发货单号
     */
    public static final String RELATIONINVOICECODE = "relationInvoiceCode";

    /**
     * 客服备注
     */
    public static final String CUSTOMERSERVICEREMARK = "customerServiceRemark";

    /**
     * bus_promotionmaster->id, 促销活动主表Id
     */
    public static final String PROMOTIONID = "promotionId";

    /**
     * 优惠券分摊金额
     */
    public static final String PROMOTIONPRICE = "promotionPrice";

    /**
     * 商品优惠明细备注
     */
    public static final String PROMOTIONREMARK = "promotionRemark";

    /**
     * 换货商品价值
     */
    public static final String BARTER_VALUE = "barter_value";

    /**
     * 充值卡分摊金额
     */
    public static final String RECHARGECARDPRICE = "rechargeCardPrice";

    /**
     * 商品优惠明细备注
     */
    public static final String PROMOTIONSNAPSHOT = "promotionSnapshot";

    /**
     * 新发货数据迁移脚本标记(so单标记)
     */
    public static final String RECOVER_MEMO = "recover_memo";

    /**
     * 新发货数据迁移脚本标记(详情关闭标记)
     */
    public static final String RECOVER_CLOSE = "recover_close";

    /**
     * 新发货数据迁移脚本标记(重复单据合并)
     */
    public static final String REAPT_FLAG = "reapt_flag";

    /**
     * 新发货数据迁移脚本标记(新增详情备注)
     */
    public static final String NEW_DETAIL_FLAG = "new_detail_flag";


}