package com.qxueyou.scc.sms.model; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import org.hibernate.annotations.GenericGenerator; /** * ¶ÌÐűíÅäÖà ʵÌå * @author ody.yuan * */ @Entity @Table(name="sms_config") public class SmsConfig implements Serializable{ /** * */ private static final long serialVersionUID = 1L; /** Ö÷¼ü */ @Id @GeneratedValue(generator = "hibernate-uuid") @GenericGenerator(name = "hibernate-uuid", strategy = "uuid") @Column(name="CONFIG_ID", unique=true, nullable=false, length=32) private String configId; /** Ä£¿é£ºÄ¿Ç° ¼¤»î */ @Column(name="MODULE", length=255) private String module; /** ×îÉϲãorg_id */ @Column(name="TOP_ORG_ID", length=255) private String topOrgId; /** ¿ª¹Ø */ @Column(name="SWITCH_FLAG", length=255) private Boolean switchFlag; public static final String REG_ACTIVITY_MODULE = "REG_ACTIVITY"; // ¼¤»î /** * @return the configId */ public String getConfigId() { return configId; } /** * @param configId the configId to set */ public void setConfigId(String configId) { this.configId = configId; } /** * @return the module */ public String getModule() { return module; } /** * @param module the module to set */ public void setModule(String module) { this.module = module; } /** * @return the topOrgId */ public String getTopOrgId() { return topOrgId; } /** * @param topOrgId the topOrgId to set */ public void setTopOrgId(String topOrgId) { this.topOrgId = topOrgId; } /** * @return the switchFlag */ public Boolean getSwitchFlag() { return switchFlag; } /** * @param switchFlag the switchFlag to set */ public void setSwitchFlag(Boolean switchFlag) { this.switchFlag = switchFlag; } }