package com.sifang.modules.sunshine.SystemSetting.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.math.BigDecimal;
import java.util.Date;

/**
 * @author lzp
 */
@Entity
@Table(name = "crm_customer_project_contract")
public class CrmProjectContract implements Serializable {

    private String id;

    private String number;

    private String customerName;

    private String idCode;

    private BigDecimal assemblySpecs;

    private Integer assemblyNum;

    private String customerEntryId;

    private Date createTime;

    private String createName;

    private String status;

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

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

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getIdCode() {
        return idCode;
    }

    public void setIdCode(String idCode) {
        this.idCode = idCode;
    }

    public BigDecimal getAssemblySpecs() {
        return assemblySpecs;
    }

    public void setAssemblySpecs(BigDecimal assemblySpecs) {
        this.assemblySpecs = assemblySpecs;
    }

    public Integer getAssemblyNum() {
        return assemblyNum;
    }

    public void setAssemblyNum(Integer assemblyNum) {
        this.assemblyNum = assemblyNum;
    }

    public String getCustomerEntryId() {
        return customerEntryId;
    }

    public void setCustomerEntryId(String customerEntryId) {
        this.customerEntryId = customerEntryId;
    }

    public Date getCreateTime() {
        return createTime;
    }

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

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getStatus() {
        return status;
    }

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