package com.jxy.windminer.entity;

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.util.Date;

/**
 * @Description TODO
 * @Date 2022/6/20 17:44
 * @Author 杜懿
 */
@TableName("ticket")
@Data
public class Ticket {

    @TableId(type = IdType.AUTO)
    private int id;

    @TableField("user_name")
    private String userName;

    private String email;

    private String model;

    @TableField("serial_no")
    private String serialNo;

    @TableField("buy_date")
    private String buyDate;

    @TableField("tracking_id")
    private String trackingId;

    private String fault;

    private String desc;

    @TableField("create_time")
    private Date createTime;

    private int status;

}
