/*
|
* Copyright (c) 2018-2025, ztt 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 pig4cloud.com 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: ztt
|
*/
|
|
package com.chinaztt.mes.warehouse.entity;
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
|
import java.time.LocalDateTime;
|
|
/**
|
* 退库申请主表
|
*
|
* @author cxf
|
* @date 2020-10-21 10:46:42
|
*/
|
@Data
|
@TableName("warehouse_return_main")
|
@EqualsAndHashCode(callSuper = true)
|
@ApiModel(value = "退库申请主表")
|
public class ReturnMain extends Model<ReturnMain> {
|
private static final long serialVersionUID = 1L;
|
/**
|
* 需求编号的规则
|
*/
|
public static final int DIGIT = 6;
|
public static final String PREFIX ="TK";
|
|
/**
|
* id
|
*/
|
@TableId
|
@ApiModelProperty(value = "id")
|
private Long id;
|
/**
|
* 退库单号
|
*/
|
@ApiModelProperty(value = "退库单号")
|
private String returnNo;
|
/**
|
* 申请日期
|
*/
|
@ApiModelProperty(value = "申请日期")
|
private LocalDateTime applyDate;
|
/**
|
* 申请人
|
*/
|
@ApiModelProperty(value = "申请人")
|
private String applyUser;
|
/**
|
* 确认人
|
*/
|
@ApiModelProperty(value = "确认人")
|
private String confirmUser;
|
/**
|
* 退库类型
|
*/
|
@ApiModelProperty(value = "退库类型")
|
private Long returnType;
|
/**
|
* 状态
|
*/
|
@ApiModelProperty(value = "状态")
|
private String status;
|
/**
|
* 备注
|
*/
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
/**
|
* 创建时间
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
@ApiModelProperty(value = "创建时间")
|
private LocalDateTime createTime;
|
/**
|
* 更新时间
|
*/
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@ApiModelProperty(value = "更新时间")
|
private LocalDateTime updateTime;
|
/**
|
* 创建人
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
@ApiModelProperty(value = "创建人")
|
private String createUser;
|
/**
|
* 更新人
|
*/
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@ApiModelProperty(value = "更新人")
|
private String updateUser;
|
}
|