key1_beacon_api/ARW.Model/Vo/Business/Custom/Customers/CustomerVo.cs
2023-11-22 12:17:14 +08:00

127 lines
2.9 KiB
C#

using Newtonsoft.Json;
using OfficeOpenXml.Attributes;
using SqlSugar;
using System;
namespace ARW.Model.Vo.Business.Custom.Customers
{
/// <summary>
/// 小程序客户展示对象
///
/// @author lwh
/// @date 2023-06-05
/// </summary>
public class CustomerVo
{
/// <summary>
/// 描述 :
/// </summary>
[EpplusIgnore]
public int CustomerId { get; set; }
/// <summary>
/// 描述 :
/// </summary>
[JsonConverter(typeof(ValueToStringConverter))]
[EpplusIgnore]
public long CustomerGuid { get; set; }
/// <summary>
/// 描述 :客户类型
/// </summary>
[EpplusTableColumn(Header = "客户类型")]
public int CustomerType{ get; set; }
/// <summary>
/// 描述 :小程序openid
/// </summary>
[EpplusTableColumn(Header = "小程序openid")]
public string CustomerXcxOpenid { get; set; }
/// <summary>
/// 描述 :昵称
/// </summary>
[EpplusTableColumn(Header = "昵称")]
public string CustomerNickname { get; set; }
/// <summary>
/// 描述 :手机号
/// </summary>
[EpplusTableColumn(Header = "手机号")]
public string CustomerMobilePhoneNumber { get; set; }
/// <summary>
/// 描述 :电子邮箱
/// </summary>
[EpplusTableColumn(Header = "电子邮箱")]
public string CustomerEmail { get; set; }
/// <summary>
/// 描述 :头像
/// </summary>
[EpplusTableColumn(Header = "头像")]
public string CustomerAvatar { get; set; }
/// <summary>
/// 描述 :性别(字典)
/// </summary>
[EpplusTableColumn(Header = "性别")]
public int CustomerGender { get; set; }
/// <summary>
/// 描述 :密码
/// </summary>
[EpplusIgnore]
public string CustomerPassword { get; set; }
/// <summary>
/// 描述 :可用余额
/// </summary>
[EpplusIgnore]
public decimal CustomerAvailableBalance { get; set; }
/// <summary>
/// 描述 :可用积分
/// </summary>
[EpplusIgnore]
public decimal CustomerAvailablePoints { get; set; }
/// <summary>
/// 描述 :总支付金额
/// </summary>
[EpplusIgnore]
public decimal CustomerTotalPaymentAmount { get; set; }
/// <summary>
/// 描述 :实际消费金额
/// </summary>
[EpplusIgnore]
public decimal CustomerActualConsumptionAmount { get; set; }
/// <summary>
/// 描述 :最后登录时间
/// </summary>
[EpplusTableColumn(Header = "最后登录时间", NumberFormat = "yyyy-MM-dd HH:mm:ss")]
public DateTime? CustomerLastLoginTime { get; set; }
}
}