Zhiqim Account(前端账户管理台)是在ZhiqimManager基础上改造成用于前端注册登录的管理系统,增加组织结构和余额,开放注册组织和组织管理员,可以添加组织内的部门和角色和操作员。并增加该管理台上的一些组件,如充值支付等组件。适用于二级代理管理或该大型组织机构

森中灵 最后提交于9月前 整理为组织方式和替换新的jar
ZmrSms.java3KB
/*
 * 版权所有 (C) 2015 知启蒙(ZHIQIM) 保留所有权利。[遇见知启蒙,邂逅框架梦]
 * 
 * https://zhiqim.org/project/zhiqim_components/zhiqim_account.htm
 *
 * Zhiqim Account is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *          http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 */
package org.zhiqim.manager.dbo;

import java.io.Serializable;
import java.sql.Timestamp;

import org.zhiqim.kernel.annotation.AnAlias;
import org.zhiqim.kernel.annotation.AnNew;
import org.zhiqim.kernel.json.Jsons;
import org.zhiqim.orm.annotation.*;

/**
 * 短信日志表 对应表《ZMR_SMS》
 */
@AnAlias("ZmrSms")
@AnNew
@AnTable(table="ZMR_SMS", key="SMS_ID", type="InnoDB")
public class ZmrSms implements Serializable
{
    private static final long serialVersionUID = 1L;

    @AnTableField(column="OPERATOR_CODE", type="string,32", notNull=true)    private String operatorCode;    //1.操作员
    @AnTableField(column="SMS_ID", type="long", notNull=true)    private long smsId;    //2.短信编号
    @AnTableField(column="SMS_RECEIVER", type="long", notNull=true)    private long smsReceiver;    //3.短信接收者
    @AnTableField(column="SMS_MOBILE", type="long", notNull=true)    private long smsMobile;    //4.短信手机号
    @AnTableField(column="SMS_CONTENT", type="string,200", notNull=true)    private String smsContent;    //5.短信内容
    @AnTableField(column="SMS_TIME", type="datetime", notNull=true)    private Timestamp smsTime;    //6.短信发送时间
    @AnTableField(column="SMS_RESULT", type="byte", notNull=true)    private int smsResult;    //7.短信发送结果,=0表示成功
    @AnTableField(column="SMS_REMARK", type="string,400", notNull=false)    private String smsRemark;    //8.短信备注

    public String toString()
    {
        return Jsons.toString(this);
    }

    public String getOperatorCode()
    {
        return operatorCode;
    }

    public ZmrSms setOperatorCode(String operatorCode)
    {
        this.operatorCode = operatorCode;
        return this;
    }

    public long getSmsId()
    {
        return smsId;
    }

    public ZmrSms setSmsId(long smsId)
    {
        this.smsId = smsId;
        return this;
    }

    public long getSmsReceiver()
    {
        return smsReceiver;
    }

    public ZmrSms setSmsReceiver(long smsReceiver)
    {
        this.smsReceiver = smsReceiver;
        return this;
    }

    public long getSmsMobile()
    {
        return smsMobile;
    }

    public ZmrSms setSmsMobile(long smsMobile)
    {
        this.smsMobile = smsMobile;
        return this;
    }

    public String getSmsContent()
    {
        return smsContent;
    }

    public ZmrSms setSmsContent(String smsContent)
    {
        this.smsContent = smsContent;
        return this;
    }

    public Timestamp getSmsTime()
    {
        return smsTime;
    }

    public ZmrSms setSmsTime(Timestamp smsTime)
    {
        this.smsTime = smsTime;
        return this;
    }

    public int getSmsResult()
    {
        return smsResult;
    }

    public ZmrSms setSmsResult(int smsResult)
    {
        this.smsResult = smsResult;
        return this;
    }

    public String getSmsRemark()
    {
        return smsRemark;
    }

    public ZmrSms setSmsRemark(String smsRemark)
    {
        this.smsRemark = smsRemark;
        return this;
    }
}