Files
tuanwei-java/src/main/java/com/gxwebsoft/tower/entity/TowerPartStock.java
2024-02-27 20:29:16 +08:00

100 lines
2.6 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.gxwebsoft.tower.entity;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 产品库存
*
* @author 科技小王子
* @since 2024-02-27 19:41:23
*/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TowerPartStock对象", description = "产品库存")
public class TowerPartStock implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "自增ID")
@TableId(value = "part_id", type = IdType.AUTO)
private Integer partId;
@ApiModelProperty(value = "产品ID")
private Integer goodsId;
@ApiModelProperty(value = "配件编码")
private String partCode;
@ApiModelProperty(value = "类别")
private String category;
@ApiModelProperty(value = "规格")
private String specs;
@ApiModelProperty(value = "位置")
private String position;
@ApiModelProperty(value = "库存数量")
private Integer stock;
@ApiModelProperty(value = "库存金额")
private BigDecimal stockMoney;
@ApiModelProperty(value = "进货价格")
private BigDecimal price;
@ApiModelProperty(value = "最低库存")
private Integer stockMin;
@ApiModelProperty(value = "是否低于最低库存")
private Integer stockLower;
@ApiModelProperty(value = "状态, 0正常, 1待修,2异常已修3异常未修")
private Integer status;
@ApiModelProperty(value = "备注")
private String comments;
@ApiModelProperty(value = "排序号")
private Integer sortNumber;
@ApiModelProperty(value = "所有人")
private Integer userId;
@ApiModelProperty(value = "是否删除, 0否, 1是")
@TableLogic
private Integer deleted;
@ApiModelProperty(value = "租户id")
private Integer tenantId;
@ApiModelProperty(value = "创建时间")
private Date createTime;
@ApiModelProperty(value = "修改时间")
private Date updateTime;
@ApiModelProperty(value = "昵称")
@TableField(exist = false)
private String nickname;
@ApiModelProperty(value = "手机号码")
@TableField(exist = false)
private String phone;
@ApiModelProperty(value = "头像")
@TableField(exist = false)
private String avatar;
}