package com.huigou.topsun.sap.dull.domain;

import com.huigou.data.domain.model.FlowBillAbstractEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Auther: LXH
 * @Date: 2024/03/28/20:45
 * @Description:放行条
 */
@Table(name = "sap_dull")
@Entity
@Data
public class SapDull extends FlowBillAbstractEntity {
    /**
     * 工厂
     */
    @Column(name = "werks")
    private String werks;

    /**
     * 工厂
     */
    @Column(name = "werks_name")
    private String werksName;
     /*
     * 物料
     *  */
  //  @Column(name = "matnr")
  //  private String  matnr;

  //  @Column(name = "matnr_name")
    //private String  matnrName;
    /**
     * 批次
     */
  //  @Column(name = "batch")
   // private String batch;



   // @Column(name = "dull_days")
  //  private Integer dullDays;
    /**
     * 说明
     */
    @Column(name = "remark")
    private String remark;

    @Column(name = "attbiz_id")
    private String attbizId;

    @Column(name = "duty_person_name")
    private String dutyPersonName;

    @Column(name = "duty_person_id")
    private String dutyPersonId;

    /**
     * 责任人处理完成修改状态，0未处理，1已处理。
     */
    @Column(name = "is_finished")
    private String isFinished;

    @Override
    protected String getCodeRuleId() {
        return "sapDull";
    }
}
