228 lines
7.6 KiB
C#
228 lines
7.6 KiB
C#
using Api.Framework.Enums;
|
|
using Api.Framework.SDK;
|
|
using Api.Framework.Tools;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Api.Framework.Model
|
|
{
|
|
/// <summary>
|
|
/// 用户信息表
|
|
/// </summary>
|
|
public class fl_member_info : base_model
|
|
{
|
|
/// <summary>
|
|
/// 构造方法
|
|
/// </summary>
|
|
public fl_member_info()
|
|
{
|
|
upd_time = DateTime.Now;
|
|
crt_time = DateTime.Now;
|
|
status = MemberType.正常;
|
|
ignore_group_update = SwitchType.关闭;
|
|
ban_exchange_time = DateTime.Parse("2000-01-01 00:00:00");
|
|
is_cloud_black = false;
|
|
check_cloud_black_time = DateTime.Parse("2000-01-01 00:00:00");
|
|
}
|
|
|
|
/// <summary>
|
|
/// 微信号
|
|
/// </summary>
|
|
[Category("属性编辑"), DisplayName("01.用户名"), Description("在聊天工具里面的,唯一标识,非软件生成!")]
|
|
public string wechatid { get; set; }
|
|
|
|
/// <summary>
|
|
/// 用户名
|
|
/// </summary>
|
|
[Category("属性编辑"), DisplayName("02.用户名别名"), Description("在聊天工具里面的,唯一标识,非软件生成!"), ReadOnly(true)]
|
|
public string username { get; set; }
|
|
|
|
/// <summary>
|
|
/// 真实昵称
|
|
/// </summary>
|
|
[Category("属性编辑"), DisplayName("03.真实昵称"), Description("一般表示网名,昵称")]
|
|
public string realnick { get; set; }
|
|
|
|
private string _usernick;
|
|
/// <summary>
|
|
/// 用户昵称
|
|
/// </summary>
|
|
[Category("属性编辑"), DisplayName("04.昵称"), Description("一般表示备注")]
|
|
public string usernick
|
|
{
|
|
get
|
|
{
|
|
return Util.RemoveEmoji(_usernick);
|
|
}
|
|
set
|
|
{
|
|
_usernick = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 机器人类型
|
|
/// </summary>
|
|
[Category("属性编辑"), DisplayName("05.类型"), Description("例如:QQ,微信,公众号等")]
|
|
public ChatType robot_type { get; set; }
|
|
|
|
/// <summary>
|
|
/// 用户状态
|
|
/// </summary>
|
|
[Category("属性编辑"), DisplayName("06.状态"), Description("获得用户状态,黑名单用户将不予理睬!")]
|
|
public MemberType status { get; set; }
|
|
|
|
/// <summary>
|
|
/// 私人返利比例
|
|
/// </summary>
|
|
[Browsable(false)]
|
|
public double private_ratio { get; set; }
|
|
|
|
/// <summary>
|
|
/// 用户兑换方式
|
|
/// </summary>
|
|
[Browsable(false)]
|
|
public ExchangeType exchange_type { get; set; } = ExchangeType.随系统设置;
|
|
|
|
/// <summary>
|
|
/// 当前积分
|
|
/// </summary>
|
|
[Category("属性编辑"), DisplayName("07.剩余积分"), Description("剩余积分,可以提现的积分")]
|
|
public double cur_point { get; set; }
|
|
|
|
/// <summary>
|
|
/// 购物积分
|
|
/// </summary>
|
|
[Browsable(false)]
|
|
public double buy_point { get; set; }
|
|
|
|
/// <summary>
|
|
/// 累计积分
|
|
/// </summary>
|
|
[Browsable(false)]
|
|
public double sum_point { get; set; }
|
|
|
|
/// <summary>
|
|
/// 提成奖励
|
|
/// </summary>
|
|
[Browsable(false)]
|
|
public double ext_point { get; set; }
|
|
|
|
/// <summary>
|
|
/// 其他奖励
|
|
/// </summary>
|
|
[Browsable(false)]
|
|
public double rew_point { get; set; }
|
|
|
|
/// <summary>
|
|
/// 已完成订单
|
|
/// </summary>
|
|
[Browsable(false)]
|
|
public long finish_order { get; set; }
|
|
|
|
/// <summary>
|
|
/// 绑定订单数
|
|
/// </summary>
|
|
[Browsable(false)]
|
|
public long bind_order { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注信息
|
|
/// </summary>
|
|
[Category("属性编辑"), DisplayName("08.备注信息"), Description("防止用户修改昵称后,无法确认用户!")]
|
|
public string remark { get; set; }
|
|
|
|
/// <summary>
|
|
/// 机器人名称
|
|
/// </summary>
|
|
[Category("属性编辑"), DisplayName("09.机器人名称"), ReadOnly(true), Description("不可编辑,目前客户正在使用哪个机器人!")]
|
|
public string robot_name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 邀请人ID
|
|
/// </summary>
|
|
[Category("属性编辑"), DisplayName("10.推荐人ID"), Description("用户的唯一编号,此编号由系统生成!")]
|
|
public long inviter_id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 分组ID
|
|
/// </summary>
|
|
[Category("属性编辑"), DisplayName("11.分组ID"), Description("分组ID,由系统生成!")]
|
|
public long group_id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 无视分组升级
|
|
/// </summary>
|
|
[Category("属性编辑"), DisplayName("12.无视分组升级"), Description("无视分组等级由积分变化而改变")]
|
|
public SwitchType ignore_group_update { get; set; }
|
|
|
|
/// <summary>
|
|
/// 支付宝账号
|
|
/// </summary>
|
|
[Category("属性编辑"), DisplayName("13.支付宝账号"), Description("支付宝账号,便于通过支付宝提现!")]
|
|
public string alipay_num { get; set; }
|
|
|
|
/// <summary>
|
|
/// 支付宝姓名
|
|
/// </summary>
|
|
[Category("属性编辑"), DisplayName("14.支付宝姓名"), Description("支付宝姓名,便于通过支付宝提现!")]
|
|
public string alipay_name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 身份证姓名
|
|
/// </summary>
|
|
[Category("属性编辑"), DisplayName("15.身份证姓名"), Description("身份证姓名")]
|
|
public string identity_name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 身份证号码
|
|
/// </summary>
|
|
[Category("属性编辑"), DisplayName("16.身份证号码"), Description("身份证号码")]
|
|
public string identity_card { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[Category("属性编辑"), DisplayName("17.注册时间"), Description("客户首次使用软件的时间")]
|
|
public DateTime crt_time { get; set; }
|
|
|
|
/// <summary>
|
|
/// 最后更新时间
|
|
/// </summary>
|
|
[Category("属性编辑"), DisplayName("18.最后交谈时间"), Description("一般表示,客户最后与我们聊天的时间!"), ReadOnly(true)]
|
|
public DateTime upd_time { get; set; }
|
|
|
|
[Category("属性编辑"), DisplayName("19.给自己发消息次数"), Description("给自己发过多少次消息"), ReadOnly(true)]
|
|
public int chat_count { get; set; }
|
|
|
|
[Category("属性编辑"), DisplayName("20.上一次拉黑时间"), Description("如果用户被拉黑,会记录拉黑的时间"), ReadOnly(true)]
|
|
public DateTime blackout_time { get; set; }
|
|
|
|
[Category("属性编辑"), DisplayName("21.限制兑换时间"), Description("当前时间小于限制兑换时间时,改用户将不能进行兑换操作"), ReadOnly(true)]
|
|
public DateTime ban_exchange_time { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否为云黑名单人员
|
|
/// </summary>
|
|
[Browsable(false)]
|
|
public bool is_cloud_black { get; set; }
|
|
|
|
/// <summary>
|
|
/// 云黑名单上次检测时间
|
|
/// </summary>
|
|
[Browsable(false)]
|
|
public DateTime check_cloud_black_time { get; set; }
|
|
|
|
/// <summary>
|
|
/// 头像地址
|
|
/// </summary>
|
|
[Browsable(false)]
|
|
public string headurl { get; set; }
|
|
|
|
}
|
|
}
|