package com.sifang.modules.supply.order.entity;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "crm_supply_exception")
public class CrmSupplyException implements Serializable {

  private String id;

  private String code;

  private String type;

  private String remarks;

  private String status;

  private Date createTime;

  private String operatorId;

  private String operatorName;

  private Date operatorTime;

  private Date placeOrderTime;
  private String ascriptionId;
  private String ascriptionName;

  @Id
  @GeneratedValue(generator = "idGenerator")
  @GenericGenerator(name = "idGenerator", strategy = "uuid")
  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code = code;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public String getOperatorId() {
    return operatorId;
  }

  public void setOperatorId(String operatorId) {
    this.operatorId = operatorId;
  }

  public String getOperatorName() {
    return operatorName;
  }

  public void setOperatorName(String operatorName) {
    this.operatorName = operatorName;
  }

  public Date getOperatorTime() {
    return operatorTime;
  }

  public void setOperatorTime(Date operatorTime) {
    this.operatorTime = operatorTime;
  }

  public Date getPlaceOrderTime() {
    return placeOrderTime;
  }

  public void setPlaceOrderTime(Date placeOrderTime) {
    this.placeOrderTime = placeOrderTime;
  }

  public String getAscriptionId() {
    return ascriptionId;
  }

  public void setAscriptionId(String ascriptionId) {
    this.ascriptionId = ascriptionId;
  }

  public String getAscriptionName() {
    return ascriptionName;
  }

  public void setAscriptionName(String ascriptionName) {
    this.ascriptionName = ascriptionName;
  }
}
