package common.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.util.Date;


@Entity
public class FlowChange {

    private Long id;
    private Long discountTimeLong; // 优惠时长
    private Long discountFlow; // 优惠时长
    private Long modifyUser;
    private String modifyUname;//操作人
    private String addDate; // ds
    private Date addTime;
    private int DelFlag;
    private String marke; //备注

    private String contractCode;
    private String email;
    private  String company;

    public FlowChange() {
    }

    @Id
    @GeneratedValue
    public Long getId() {
        return id;
    }

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

    public Long getDiscountTimeLong() {
        return discountTimeLong;
    }

    public void setDiscountTimeLong(Long discountTimeLong) {
        this.discountTimeLong = discountTimeLong;
    }

    public Long getDiscountFlow() {
        return discountFlow;
    }

    public void setDiscountFlow(Long discountFlow) {
        this.discountFlow = discountFlow;
    }

    public Long getModifyUser() {
        return modifyUser;
    }

    public void setModifyUser(Long modifyUser) {
        this.modifyUser = modifyUser;
    }

    public String getModifyUname() {
        return modifyUname;
    }

    public void setModifyUname(String modifyUname) {
        this.modifyUname = modifyUname;
    }

    public String getAddDate() {
        return addDate;
    }

    public void setAddDate(String addDate) {
        this.addDate = addDate;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public int getDelFlag() {
        return DelFlag;
    }

    public void setDelFlag(int delFlag) {
        DelFlag = delFlag;
    }

    public String getContractCode() {
        return contractCode;
    }

    public void setContractCode(String contractCode) {
        this.contractCode = contractCode;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getMarke() {
        return marke;
    }

    public void setMarke(String marke) {
        this.marke = marke;
    }

    @Override
    public String toString() {
        return "FlowChange{" +
                "id=" + id +
                ", discountTimeLong=" + discountTimeLong +
                ", discountFlow=" + discountFlow +
                ", modifyUser=" + modifyUser +
                ", modifyUname='" + modifyUname + '\'' +
                ", addDate='" + addDate + '\'' +
                ", addTime=" + addTime +
                ", DelFlag=" + DelFlag +
                '}';
    }
}
