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

@Entity
@Table(name = "crm_site_fitting_keep")
public class CrmSiteFittingkeep implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;
    private String number;
    private String type;
    private String fittingId;
    private String fittingCode;
    private String fittingName;
    private BigDecimal amount;
    private BigDecimal price;
    private BigDecimal employePrice;
    private BigDecimal customerPrice;
    private String remarks;
    private Date createTime;
    private Date operateTime;
    private String applicant;
    private String confirmor;
    private String createBy;
    private String siteId;
    private String relateRecordId;

    public CrmSiteFittingkeep() {
        super();
        this.createTime = new Date();
        this.operateTime = new Date();
        this.type = "0";
        this.price = new BigDecimal("0.00");
        this.employePrice = new BigDecimal("0.00");
        this.customerPrice = new BigDecimal("0.00");
    }

    @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 getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFittingId() {
        return fittingId;
    }

    public void setFittingId(String fittingId) {
        this.fittingId = fittingId;
    }

    public String getFittingCode() {
        return fittingCode;
    }

    public void setFittingCode(String fittingCode) {
        this.fittingCode = fittingCode;
    }

    public String getFittingName() {
        return fittingName;
    }

    public void setFittingName(String fittingName) {
        this.fittingName = fittingName;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getEmployePrice() {
        return employePrice;
    }

    public void setEmployePrice(BigDecimal employePrice) {
        this.employePrice = employePrice;
    }

    public BigDecimal getCustomerPrice() {
        return customerPrice;
    }

    public void setCustomerPrice(BigDecimal customerPrice) {
        this.customerPrice = customerPrice;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Date getCreateTime() {
        return createTime;
    }

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

    public Date getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(Date operateTime) {
        this.operateTime = operateTime;
    }

    public String getApplicant() {
        return applicant;
    }

    public void setApplicant(String applicant) {
        this.applicant = applicant;
    }

    public String getConfirmor() {
        return confirmor;
    }

    public void setConfirmor(String confirmor) {
        this.confirmor = confirmor;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getSiteId() {
        return siteId;
    }

    public void setSiteId(String siteId) {
        this.siteId = siteId;
    }

    public String getRelateRecordId() {
        return relateRecordId;
    }

    public void setRelateRecordId(String relateRecordId) {
        this.relateRecordId = relateRecordId;
    }
}
