/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package com.fjhx.subscribe.entity; import com.baomidou.mybatisplus.annotation.TableName; import java.time.LocalDateTime; import java.io.Serializable; import java.util.Date; import java.util.List; import com.fjhx.base.BaseStockEntity; import lombok.Data; import lombok.EqualsAndHashCode; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** * 申购单实体类 * * @author BladeX * @since 2022-07-26 */ @Data @TableName("stock_apply_purchase") @ApiModel(value = "ApplyPurchase对象", description = "申购单") public class ApplyPurchase extends BaseStockEntity { private static final long serialVersionUID = 1L; /** * 申购单号 */ @ApiModelProperty(value = "申购单号") private String applyBillNo; /** * 申购部门 */ @ApiModelProperty(value = "申购部门") private String departName; /** * 申请时间 */ @ApiModelProperty(value = "申请时间") private Date applyTime; /** * 申购说明 */ @ApiModelProperty(value = "申购说明") private String applyAccount; /** * 申购类型 (枚举定义:0=物料,1=行政) */ @ApiModelProperty(value = "申购类型 (枚举定义:0=物料,1=行政)") private Integer applyPurType; /** * 申购内容 */ @ApiModelProperty(value = "申购内容") private String purchaseContent; /** * 审批状态 (枚举定义:0=待审批,1=审批中,2=已审批,3=已驳回,4=已撤回) */ @ApiModelProperty(value = "审批状态 (枚举定义:0=待审批,1=审批中,2=已审批,3=已驳回,4=已撤回)") private Integer approveBillState; /** * 审核时间 */ @ApiModelProperty(value = "审核时间") private Date approvalTime; /** * 安全库存自动生成 */ @ApiModelProperty(value = "安全库存自动生成") private Boolean safetyStockCreate; private List purchasedetailList; }