You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
2.1 KiB
102 lines
2.1 KiB
package com.fr.plugin.entitys; |
|
|
|
import com.fr.plugin.beans.MyYituanBean; |
|
import com.fr.stable.db.entity.BaseEntity; |
|
import com.fr.third.javax.persistence.Column; |
|
import com.fr.third.javax.persistence.Entity; |
|
import com.fr.third.javax.persistence.Table; |
|
|
|
@Entity |
|
@Table( |
|
name = "fine_yt_config" |
|
) |
|
public class YTYiTuanEntity extends BaseEntity { |
|
|
|
@Column( |
|
name = "agentName" |
|
) |
|
private String agentName = ""; |
|
@Column( |
|
name = "teamId" |
|
) |
|
private String teamId = ""; |
|
@Column( |
|
name = "groupId" |
|
) |
|
private String groupId = ""; |
|
@Column( |
|
name = "clientId" |
|
) |
|
private String clientId = ""; |
|
@Column( |
|
name = "secret" |
|
) |
|
private String secret = ""; |
|
|
|
public String getTeamId() { |
|
return teamId; |
|
} |
|
|
|
public void setTeamId(String teamId) { |
|
this.teamId = teamId; |
|
} |
|
|
|
public String getGroupId() { |
|
return groupId; |
|
} |
|
|
|
public void setGroupId(String groupId) { |
|
this.groupId = groupId; |
|
} |
|
|
|
public String getClientId() { |
|
return clientId; |
|
} |
|
|
|
public void setClientId(String clientId) { |
|
this.clientId = clientId; |
|
} |
|
|
|
public MyYituanBean createBean(MyYituanBean var1) { |
|
var1.setId(this.getId()); |
|
var1.setAgentName(this.getAgentName()); |
|
var1.setGroupId(this.getGroupId()); |
|
var1.setTeamId(this.getTeamId()); |
|
var1.setClientId(this.getClientId()); |
|
var1.setSecret(this.getSecret()); |
|
return var1; |
|
} |
|
|
|
public YTYiTuanEntity id(String var1) { |
|
this.setId(var1); |
|
return this; |
|
} |
|
|
|
public String getAgentName() { |
|
return this.agentName; |
|
} |
|
|
|
public void setAgentName(String var1) { |
|
this.agentName = var1; |
|
} |
|
|
|
public YTYiTuanEntity agentName(String var1) { |
|
this.setAgentName(var1); |
|
return this; |
|
} |
|
|
|
public String getSecret() { |
|
return this.secret; |
|
} |
|
|
|
public void setSecret(String var1) { |
|
this.secret = var1; |
|
} |
|
|
|
public YTYiTuanEntity secret(String var1) { |
|
this.setSecret(var1); |
|
return this; |
|
} |
|
|
|
|
|
}
|
|
|