package com.chushang.inspection.terminal.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chushang.common.mybatis.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
  * @auther: zhao
  * @date: 2024/6/21 11:47
  */
@Data
@EqualsAndHashCode(callSuper=true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "consumables_total")
public class ConsumablesTotal extends BaseEntity {
    /**
     * 数量id
     */
    @TableId(value = "total_id", type = IdType.ASSIGN_ID)
    private Long totalId;
    /**
     * 部门id
     */
    @TableField(value = "dept_id")
    private Long deptId;
    /**
     * 耗材类型
     */
    @TableField(value = "`type`")
    private Integer type;
    /**
     * 来源
     */
    @TableField(value = "`source`")
    private Integer source;
    /**
     * 总数
     */
    @TableField(value = "total")
    private Integer total;
    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
    /**
     * 任务id
     */
    @TableField(value = "task_id")
    private Long taskId;
}
