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; } }