package com.gyee.frame.model.ticket;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenmh
 * @since 2020-06-08
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("OPTICKETLINE")
public class Opticketline extends Model<Opticketline> {

    private static final long serialVersionUID=1L;

      @TableId("ID")
      private Double id;

    @TableField("TKNUM")
    private String tknum;

    @TableField("LINENUM")
    private Double linenum;

    @TableField("DESCRIPTION")
    private String description;

    @TableField("OPGUIDE")
    private String opguide;

    @TableField("REMARK")
    private String remark;

    @TableField("LINEDATE")
    private LocalDateTime linedate;

    @TableField("ISTRYOUT")
    private String istryout;

    @TableField("CMDITEM")
    private String cmditem;

    @TableField("OTNUM")
    private String otnum;


    @Override
    protected Serializable pkVal() {
          return this.id;
      }

}
