BrCode.java 2.01 KB
//: com/huaheng/pc/manager/brcode/domain/BrCode.java
package com.huaheng.pc.manager.brcode.domain;

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 lombok.Data;

import java.io.Serializable;
import java.util.Date; // SyntaxError sql->util

/** A class comment */
/**
 *
 */
@Data
@TableName(value = "excel_brcode")
public class BrCode implements Serializable {
  /** A field comment */
  private static final long serialVersionUID = 1L;
  /** A method comment */
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  @TableField(value = "code")
  private String code;
  @TableField(value = "description")
  private String description;
  @TableField(value = "created")
  private Date created;
  @TableField(value = "createdBy")
  private String createdBy;
  @TableField(value = "lastUpdated")
  private Date lastUpdated;
  @TableField(value = "lastUpdatedBy")
  private String lastUpdatedBy;

  public Long getId () {
    return id;
  }

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

  public String getCode () {
    return code;
  }

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

  public String getDescription () {
    return description;
  }

  public void setDescription (String description) {
    this.description = description;
  }

  public Date getCreated () {
    return created;
  }

  public void setCreated (Date created) {
    this.created = created;
  }

  public String getCreatedBy () {
    return createdBy;
  }

  public void setCreatedBy (String createdBy) {
    this.createdBy = createdBy;
  }

  public Date getLastUpdated () {
    return lastUpdated;
  }

  public void setLastUpdated (Date lastUpdated) {
    this.lastUpdated = lastUpdated;
  }

  public String getLastUpdatedBy () {
    return lastUpdatedBy;
  }

  public void setLastUpdatedBy (String lastUpdatedBy) {
    this.lastUpdatedBy = lastUpdatedBy;
  }



} ///:~