package cn.estsh.i3plus.pojo.mes.bean;

import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @Description:
 * @Author: jokelin
 * @Date: 2020/5/12 5:53 下午
 * @Modify:
 */
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_PART_STOCK_SCHEDULE")
@Api("MES_库存排程配置")
public class MesPartStockSchedule extends BaseBean implements Serializable {

    private static final long serialVersionUID = -8265586624645977526L;

    @Column(name = "PART_NO")
    @ApiParam("物料号")
    private String partNo;

    @Column(name = "MIN_CAPACITY")
    @ApiParam("最小库存")
    private Integer minCapacity;

    @Column(name = "TOTAL_CAPACITY")
    @ApiParam("总容量")
    private Integer totalCapacity;

    @Column(name = "STANDARD_CAPACITY")
    @ApiParam("标准值")
    private Integer standardCapacity;

    @Column(name = "SCHEDULE_CAPACITY")
    @ApiParam("待生产箱数")
    private Integer scheduleCapacity;

    @Column(name = "PLAN_QTY")
    @ApiParam("产品JSP个数")
    private Integer planQty;

    @Column(name = "TOTAL_PLAN_QTY")
    @ApiParam("JSP总数")
    private Integer totalPlanQty;
}
