Zhiqim Master(运营管理台)是在ZhiqimManager基础上改造成用于运营思路的管理系统,增加余额,和组织结构等,开放组织管理员,可以添加组织内的部门和角色和操作员。并增加该管理台上的一些组件,如充值支付等组件。适用于二级代理管理或该大型组织机构
森中灵 最后提交于7月前 替换为8.0.5版本
ZmrAvatar.java3KB
/*
* 版权所有 (C) 2015 知启蒙(ZHIQIM) 保留所有权利。[遇见知启蒙,邂逅框架梦]
*
* https://zhiqim.org/project/zhiqim_components/zhiqim_manager.htm
*
* Zhiqim Manager 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 org.zhiqim.kernel.annotation.AnAlias;
import org.zhiqim.kernel.annotation.AnNew;
import org.zhiqim.kernel.json.Jsons;
import org.zhiqim.orm.annotation.*;
/**
* 系统头像表 对应表《ZMR_AVATAR》
*/
@AnAlias("ZmrAvatar")
@AnNew
@AnTable(table="ZMR_AVATAR", key="AVATAR_ID", type="InnoDB")
public class ZmrAvatar implements Serializable
{
private static final long serialVersionUID = 1L;
@AnTableField(column="AVATAR_ID", type="long", notNull=true) private long avatarId; //1.头像编号
@AnTableField(column="AVATAR_TYPE", type="byte", notNull=true) private int avatarType; //2.头像类型:0系统,1用户
@AnTableField(column="AVATAR_TIME", type="long", notNull=true) private long avatarTime; //3.头像上传时间,long型,方便转HTTP时间
@AnTableField(column="AVATAR_50", type="binary", notNull=true) private byte[] avatar50; //4.50*50头像
@AnTableField(column="AVATAR_100", type="binary", notNull=true) private byte[] avatar100; //5.100*100头像
@AnTableField(column="AVATAR_150", type="binary", notNull=true) private byte[] avatar150; //6.150*150头像
public String toString()
{
return Jsons.toString(this);
}
public long getAvatarId()
{
return avatarId;
}
public ZmrAvatar setAvatarId(long avatarId)
{
this.avatarId = avatarId;
return this;
}
public int getAvatarType()
{
return avatarType;
}
public ZmrAvatar setAvatarType(int avatarType)
{
this.avatarType = avatarType;
return this;
}
public long getAvatarTime()
{
return avatarTime;
}
public ZmrAvatar setAvatarTime(long avatarTime)
{
this.avatarTime = avatarTime;
return this;
}
public byte[] getAvatar50()
{
return avatar50;
}
public ZmrAvatar setAvatar50(byte[] avatar50)
{
this.avatar50 = avatar50;
return this;
}
public byte[] getAvatar100()
{
return avatar100;
}
public ZmrAvatar setAvatar100(byte[] avatar100)
{
this.avatar100 = avatar100;
return this;
}
public byte[] getAvatar150()
{
return avatar150;
}
public ZmrAvatar setAvatar150(byte[] avatar150)
{
this.avatar150 = avatar150;
return this;
}
}