ReceiptDetail.java 10.3 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 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 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473
package com.huaheng.pc.receipt.receiptDetail.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.huaheng.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@ApiModel(value = "com.huaheng.pc.receipt.receiptDetail.domain.ReceiptDetail")
@Data
@TableName(value = "receipt_detail")
public class ReceiptDetail implements Serializable {
    /**
     * 入库明细内部号
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "入库明细内部号")
    private Integer id;

    /**
     * 入库单头内部号
     */
    @TableField(value = "receiptId")
    @ApiModelProperty(value = "入库单头内部号")
    private Integer receiptId;

    /**
     * 入库单
     */
    @TableField(value = "receiptCode")
    @ApiModelProperty(value = "入库单")
    private String receiptCode;

    /**
     * u8子单id
     */
    @TableField(value = "autoId")
    @ApiModelProperty(value = "u8子单id")
    private Integer autoId;

    /**
     * 订单号
     */
    @TableField(value = "cPoCode")
    @ApiModelProperty(value = "订单号")
    private String cPoCode;

    /**
     * 工作令号
     */
    @TableField(value = "moCode")
    @ApiModelProperty(value = "工作令号")
    @Excel(name = "工作令号")
    private String moCode;

    /**
     * 库区
     */
    @TableField(value = "zoneCode")
    @ApiModelProperty(value = "库区")
    private String zoneCode;


    /**
     * 仓库
     */
    @TableField(value = "warehouseCode")
    @ApiModelProperty(value = "仓库")
    private String warehouseCode;

    /**
     * U8仓库
     */
    @TableField(value = "uWarehouseCode")
    @ApiModelProperty(value = "U8仓库")
    private String uWarehouseCode;

    @TableField(value = "erpWarehouseCode")
    @Excel(name = "erp仓库编码")
    private String erpWarehouseCode;


    /**
     * 货主
     */
    @TableField(value = "companyCode")
    @ApiModelProperty(value = "货主")
    private String companyCode;

    @TableField(exist = false)
    @ApiModelProperty(value = "货主名称")
    private String companyName;

    /**
     * 物料
     */
    @TableField(value = "materialCode")
    @ApiModelProperty(value = "物料")
    @Excel(name = "物料编码")
    private String materialCode;

    /**
     * 物料信息
     */
    @TableField(value = "materialName")
    @ApiModelProperty(value = "物料信息")
    private String materialName;

    /**
     * 物料规格
     */
    @TableField(value = "materialSpec")
    @ApiModelProperty(value = "物料规格")
    private String materialSpec;

    /**
     * 物料单位
     */
    @TableField(value = "materialUnit")
    @ApiModelProperty(value = "物料单位")
    private String materialUnit;
    /**
     * 中文物料单位
     */
    @TableField(value = "materialUnitZh")
    @ApiModelProperty(value = "中文物料单位")
    private String materialUnitZh;

    /**
     * 库存数量
     */
    @ApiModelProperty(value = "库存数量")
    @TableField(exist = false)
    private BigDecimal inventoryQty;

    /**
     * 供应商编码
     */
    @TableField(value = "supplierCode")
    @ApiModelProperty(value = "供应商编码")
    private String supplierCode;

    /**
     * 批次
     */
    @TableField(value = "batch")
    @ApiModelProperty(value = "批次")
    private String batch;

    /**
     * 批号
     */
    @TableField(value = "lot")
    @ApiModelProperty(value = "批号")
    private String lot;

    /**
     * 质检
     */
    @TableField(value = "qcCheck")
    @ApiModelProperty(value = "质检")
    private String qcCheck;

    /**
     * 项目号
     */
    @TableField(value = "projectNo")
    @ApiModelProperty(value = "项目号")
    private String projectNo;

    /**
     * 生产日期
     */
    @TableField(value = "manufactureDate")
    @ApiModelProperty(value = "生产日期")
    private Date manufactureDate;

    /**
     * 失效日期
     */
    @TableField(value = "expirationDate")
    @ApiModelProperty(value = "失效日期")
    private Date expirationDate;

    /**
     * 入库日期
     */
    @TableField(value = "agingDate")
    @ApiModelProperty(value = "入库日期")
    private Date agingDate;

    /**
     * 属性模板
     */
    @TableField(value = "attributeTemplateCode")
    @ApiModelProperty(value = "属性模板")
    private String attributeTemplateCode;

    /**
     * 属性1
     */
    @TableField(value = "attribute1")
    @ApiModelProperty(value = "属性1")
    private String attribute1;

    /**
     * 属性2
     */
    @TableField(value = "attribute2")
    @ApiModelProperty(value = "属性2")
    private String attribute2;

    /**
     * 属性3
     */
    @TableField(value = "attribute3")
    @ApiModelProperty(value = "属性3")
    private String attribute3;

    /**
     * 属性4
     */
    @TableField(value = "attribute4")
    @ApiModelProperty(value = "属性4")
    private String attribute4;

    /**
     * 单据数量
     */
    @TableField(value = "qty")
    @ApiModelProperty(value = "单据数量")
    @Excel(name = "单据数量")
    private BigDecimal qty;

    /**
     * 未收数量
     */
    @TableField(value = "taskQty")
    @ApiModelProperty(value = "已收数量")
    private BigDecimal taskQty;

    /**
     * ERP单号
     */
    @TableField(value = "referCode")
    @ApiModelProperty(value = "ERP单号")
    private String referCode;

    /**
     * ERP内部号
     */
    @TableField(value = "referId")
    @ApiModelProperty(value = "ERP内部号")
    private Integer referId;

    /**
     * ERP行号
     */
    @TableField(value = "referLineNum")
    @ApiModelProperty(value = "ERP行号")
    private String referLineNum;

    /**
     * 定位规则
     */
    @TableField(value = "locatingRule")
    @ApiModelProperty(value = "定位规则")
    private String locatingRule;

    /**
     * 库存状态
     */
    @TableField(value = "inventorySts")
    @ApiModelProperty(value = "库存状态")
    private String inventorySts;

    /**
     * 标价
     */
    @TableField(value = "itemListPrice")
    @ApiModelProperty(value = "标价")
    private BigDecimal itemListPrice;

    /**
     * 净价
     */
    @TableField(value = "itemNetPrice")
    @ApiModelProperty(value = "净价")
    private BigDecimal itemNetPrice;

    /**
     * 是否虚拟套件
     */
    @TableField(value = "isVirtualBom")
    @ApiModelProperty(value = "是否虚拟套件")
    private Integer isVirtualBom;

    /**
     * 创建时间
     */
    @TableField(value = "created", fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date created;

    /**
     * 创建用户
     */
    @TableField(value = "createdBy", fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建用户")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "lastUpdated", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "创建时间")
    private Date lastUpdated;

    /**
     * 更新用户
     */
    @TableField(value = "lastUpdatedBy", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新用户")
    private String lastUpdatedBy;

    /**
     * 数据版本
     */
    @TableField(value = "version")
    @ApiModelProperty(value = "数据版本")
    private Integer version;

    /**
     * 自定义字段1
     */
    @TableField(value = "userDef1")
    @ApiModelProperty(value = "自定义字段1")
    private String userDef1;

    /**
     * 自定义字段2
     */
    @TableField(value = "userDef2")
    @ApiModelProperty(value = "自定义字段2")
    private String userDef2;

    /**
     * 自定义字段3
     */
    @TableField(value = "userDef3")
    @ApiModelProperty(value = "自定义字段3")
    private String userDef3;

    /**
     * 自定义字段4
     */
    @TableField(value = "userDef4")
    @ApiModelProperty(value = "自定义字段4")
    private String userDef4;

    /**
     * 自定义字段5
     */
    @TableField(value = "userDef5")
    @ApiModelProperty(value = "自定义字段5")
    private String userDef5;

    /**
     * 自定义字段6
     */
    @TableField(value = "userDef6")
    @ApiModelProperty(value = "自定义字段6")
    private String userDef6;

    /**
     * 自定义字段7
     */
    @TableField(value = "userDef7")
    @ApiModelProperty(value = "自定义字段7")
    private String userDef7;

    /**
     * 自定义字段8
     */
    @TableField(value = "userDef8")
    @ApiModelProperty(value = "自定义字段8")
    private String userDef8;

    /**
     * 处理标记
     */
    @TableField(value = "processStamp")
    @ApiModelProperty(value = "处理标记")
    private String processStamp;

    /**
     * 是否删除
     */
    @TableField(value = "deleted")
    @ApiModelProperty(value = "是否删除")
    private Boolean deleted;

    /**
     * 流程编码
     */
    @TableField(value = "statusFlowCode")
    @ApiModelProperty(value = "流程编码")
    private String statusFlowCode;

    /**
     * 销售订单id
     */
    @TableField(value = "soId")
    @ApiModelProperty(value = "销售订单id")
    private Integer soId;
    /**
     * 销售订单编码
     */
    @TableField(value = "soCode")
    @ApiModelProperty(value = "销售订单编码")
    private String soCode;

    /**
     * 销售订单id
     */
    @TableField(value = "soAutoId")
    @ApiModelProperty(value = "销售订单id")
    private Integer soAutoId;

    /**
     * 状态
     */
    @TableField(value = "status")
    private int status;

    /**
     * 状态
     */
    @TableField(value = "backQty")
    private BigDecimal backQty;

    /**
     * 物料颜色
     */
    @TableField(value = "color")
    @ApiModelProperty(value = "颜色")
    private String color;

    /**
     * 采购项次
     */
    @TableField(value = "pmdt002")
    @ApiModelProperty(value = "采购项次")
    private Integer pmdt002;
    /**
     * 采购单号
     */
    @ApiModelProperty(value = "采购单号")
    @TableField(value = "purchaseCode")
    private String purchaseCode;

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }
}