package com.sifang.modules.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;

/**
 *保修卡表实体诶
 * @author lzp
 * @version 2019-11-13
 */

@Entity
@Table(name = "crm_customer_warranty_card")
public class CrmCustomerWarrantyCard implements Serializable {

    private String id;
    private String orderId;
    private String deviceName;
    private String deviceMachineCode;
    private String warrantyId;


    public CrmCustomerWarrantyCard(){
        super();
    }

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

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

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceMachineCode() {
        return deviceMachineCode;
    }

    public void setDeviceMachineCode(String deviceMachineCode) {
        this.deviceMachineCode = deviceMachineCode;
    }

    public String getDeviceModel() {
        return deviceModel;
    }

    public void setDeviceModel(String deviceModel) {
        this.deviceModel = deviceModel;
    }

    private String deviceModel;


    public String getWarrantyId() {
        return warrantyId;
    }

    public void setWarrantyId(String warrantyId) {
        this.warrantyId = warrantyId;
    }
}
