package com.sifang.modules.sunshine.SystemSetting.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;


import org.hibernate.annotations.GenericGenerator;


import java.io.Serializable;


/**
 * 代理商授权信息Entity
 * @author lzp
 * @version 
 */
@Entity
@Table(name = "crm_trader_project")
public class TraderProject implements Serializable {
	
	private static final long serialVersionUID = 1L;
	private String id;
	private String projectId;
	private String traderId;

	public TraderProject() {
		super();
	}

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

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

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getTraderId() {
		return traderId;
	}

	public void setTraderId(String traderId) {
		this.traderId = traderId;
	}
}


