ApplyPurchase.java 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /*
  2. * Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions are met:
  6. *
  7. * Redistributions of source code must retain the above copyright notice,
  8. * this list of conditions and the following disclaimer.
  9. * Redistributions in binary form must reproduce the above copyright
  10. * notice, this list of conditions and the following disclaimer in the
  11. * documentation and/or other materials provided with the distribution.
  12. * Neither the name of the dreamlu.net developer nor the names of its
  13. * contributors may be used to endorse or promote products derived from
  14. * this software without specific prior written permission.
  15. * Author: Chill 庄骞 (smallchill@163.com)
  16. */
  17. package com.fjhx.subscribe.entity;
  18. import com.baomidou.mybatisplus.annotation.TableName;
  19. import java.time.LocalDateTime;
  20. import java.io.Serializable;
  21. import java.util.Date;
  22. import java.util.List;
  23. import com.fjhx.base.BaseStockEntity;
  24. import lombok.Data;
  25. import lombok.EqualsAndHashCode;
  26. import io.swagger.annotations.ApiModel;
  27. import io.swagger.annotations.ApiModelProperty;
  28. /**
  29. * 申购单实体类
  30. *
  31. * @author BladeX
  32. * @since 2022-07-26
  33. */
  34. @Data
  35. @TableName("stock_apply_purchase")
  36. @ApiModel(value = "ApplyPurchase对象", description = "申购单")
  37. public class ApplyPurchase extends BaseStockEntity {
  38. private static final long serialVersionUID = 1L;
  39. /**
  40. * 申购单号
  41. */
  42. @ApiModelProperty(value = "申购单号")
  43. private String applyBillNo;
  44. /**
  45. * 申购部门
  46. */
  47. @ApiModelProperty(value = "申购部门")
  48. private String departName;
  49. /**
  50. * 申请时间
  51. */
  52. @ApiModelProperty(value = "申请时间")
  53. private Date applyTime;
  54. /**
  55. * 申购说明
  56. */
  57. @ApiModelProperty(value = "申购说明")
  58. private String applyAccount;
  59. /**
  60. * 申购类型 (枚举定义:0=物料,1=行政)
  61. */
  62. @ApiModelProperty(value = "申购类型 (枚举定义:0=物料,1=行政)")
  63. private Integer applyPurType;
  64. /**
  65. * 申购内容
  66. */
  67. @ApiModelProperty(value = "申购内容")
  68. private String purchaseContent;
  69. /**
  70. * 审批状态 (枚举定义:0=待审批,1=审批中,2=已审批,3=已驳回,4=已撤回)
  71. */
  72. @ApiModelProperty(value = "审批状态 (枚举定义:0=待审批,1=审批中,2=已审批,3=已驳回,4=已撤回)")
  73. private Integer approveBillState;
  74. /**
  75. * 审核时间
  76. */
  77. @ApiModelProperty(value = "审核时间")
  78. private Date approvalTime;
  79. /**
  80. * 安全库存自动生成
  81. */
  82. @ApiModelProperty(value = "安全库存自动生成")
  83. private Boolean safetyStockCreate;
  84. private List<ApplyPurchasedetail> purchasedetailList;
  85. }