100 lines
3.1 KiB
C#
100 lines
3.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using SqlSugar;
|
|
using OfficeOpenXml.Attributes;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace ARW.Model.Models.Business.Customers
|
|
{
|
|
/// <summary>
|
|
/// 小程序客户,数据实体对象
|
|
///
|
|
/// @author admin
|
|
/// @date 2022-12-06
|
|
/// </summary>
|
|
[SugarTable("tb_customer")]
|
|
public class Customer : BusinessBase
|
|
{
|
|
|
|
/// <summary>
|
|
/// 描述 :
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "CustomerId")]
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "customer_id")]
|
|
public int CustomerId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述 :
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "CustomerGuid")]
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "customer_guid")]
|
|
public long CustomerGuid { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述 :客户姓名
|
|
/// 空值 : true
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "客户姓名")]
|
|
[SugarColumn(ColumnName = "customer_name")]
|
|
public string CustomerName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述 :客户生日
|
|
/// 空值 : true
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "客户生日")]
|
|
[SugarColumn(ColumnName = "customer_birth")]
|
|
public string CustomerBirth { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述 :客户头像 (人脸识别)
|
|
/// 空值 : true
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "客户头像 (人脸识别)")]
|
|
[SugarColumn(ColumnName = "customer_img")]
|
|
public string CustomerImg { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述 :客户性别 1: 男 2: 女
|
|
/// 空值 : true
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "客户性别 1: 男 2: 女")]
|
|
[SugarColumn(ColumnName = "customer_sex")]
|
|
public int? CustomerSex { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述 :客户电话
|
|
/// 空值 : true
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "客户电话")]
|
|
[SugarColumn(ColumnName = "customer_phone")]
|
|
public string CustomerPhone { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述 :小程序openid
|
|
/// 空值 : true
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "小程序openid")]
|
|
[SugarColumn(ColumnName = "customer_xcx_openid")]
|
|
public string CustomerXcxOpenid { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述 :小程序名称
|
|
/// 空值 : true
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "小程序名称")]
|
|
[SugarColumn(ColumnName = "customer_xcx_name")]
|
|
public string CustomerXcxName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述 :小程序头像
|
|
/// 空值 : true
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "小程序头像")]
|
|
[SugarColumn(ColumnName = "customer_xcx_img")]
|
|
public string CustomerXcxImg { get; set; }
|
|
}
|
|
} |