package cn.estsh.i3plus.pojo.wms.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;

/**
 * @Description : AMP_物料
 * @Reference :
 * @Author : jimmy.zeng
 * @CreateDate : 2019-06-28 11:14
 * @Modify:
 **/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name="AMP_PART")
@Api("AMP_物料")
public class AmpPart extends BaseBean {

    private static final long serialVersionUID = -4332932784803175933L;
    @Column(name = "PART_NO")
    @ApiParam(value = "物料编号")
    private String partNo;

    @Column(name = "PART_NAME_RDD")
    @ApiParam(value = "物料名称")
    private String partNameRdd;

    /**
     * 状态：B汇总库存到AMP系统
     */
    @Column(name = "status")
    @ApiParam(value = "状态")
    private String status;
}
