using System;
using System.Collections.Generic;
using System.Linq;
namespace StoreHub.KJDWebService.Models
{
public class UserLoginResultParam
{
public int id { get; set; }
///
/// 用户名
///
public string user_name { get; set; }
///
/// 父用户名
///
public string parent_user_name { get; set; }
///
/// 贴牌编号
///
public string oem_id { get; set; }
public string oem_name { get; set; }
public bool is_oem_owner { get; set; }
///
/// 手机号(真实登录id,与用户名相同)
///
public string mobile { get; set; }
public string password { get; set; }
public string nick_name { get; set; }
public string group_id { get; set; }
public bool is_import { get; set; }
public string company_name { get; set; }
public string card_id { get; set; }
private int _is_sa = 0;
public int is_sa
{
get { return Math.Max(_sa_level, _is_sa); }
set { _is_sa = value; }
}
private int _sa_level = 0;
public int sa_level
{
get { return Math.Max(_sa_level, _is_sa); }
set { _sa_level = value; }
}
public decimal authorized_amount { get; set; }
public DateTime add_time { get; set; }
public DateTime mdy_time { get; set; }
///
/// 备注
///
public string notes { get; set; }
///
/// 用户的功能操作权限
///
public string authority { get; set; }
///
/// 父账户的功能操作权限
///
public string parent_authority { get; set; }
///
/// 子账号被禁止展示的功能页面
///
public string forbidden_page { get; set; }
///
/// 用户积分点数
///
public int points { get; set; }
///
/// 单店铺续费1个月消耗的点数
///
public int shop_points_per_month { get; set; }
///
/// 当前余额
///
public decimal balance { get; set; }
///
/// 历史充值总额
///
public decimal recharge_amount_total { get; set; }
///
/// 每单运费金额
///
public decimal? postage_per_order { get; set; }
///
/// 每单退货运费金额
///
public decimal? refund_postage_per_order { get; set; }
///
/// 每一单礼物额外收取费用
///
public decimal? gift_oem_amount_per_order { get; set; }
}
}