145 lines
3.9 KiB
C#
145 lines
3.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using SqlSugar;
|
|
using OfficeOpenXml.Attributes;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace ARW.Model.Models.Business.ShopManager.Shops
|
|
{
|
|
/// <summary>
|
|
/// 店铺,数据实体对象
|
|
///
|
|
/// @author lwh
|
|
/// @date 2023-06-09
|
|
/// </summary>
|
|
[SugarTable("tb_shop")]
|
|
public class Shop : BusinessBase
|
|
{
|
|
|
|
/// <summary>
|
|
/// 描述 :
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "ShopId")]
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "shop_id")]
|
|
public int ShopId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "ShopGuid")]
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "shop_guid")]
|
|
public long ShopGuid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :用户id
|
|
/// 空值 : true
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "用户id")]
|
|
[SugarColumn(ColumnName = "shop_user_id")]
|
|
public int? ShopUserId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :客户guid
|
|
/// 空值 : true
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "客户guid")]
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
[SugarColumn(ColumnName = "shop_customer_guid")]
|
|
public long? ShopCustomerGuid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :经营类目guid
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "经营类目guid")]
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
[SugarColumn(ColumnName = "shop_business_category_guid")]
|
|
public long ShopBusinessCategoryGuid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :图标
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "图标")]
|
|
[SugarColumn(ColumnName = "shop_logo")]
|
|
public string ShopLogo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :营业执照
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "营业执照")]
|
|
[SugarColumn(ColumnName = "shop_business_license")]
|
|
public string ShopBusinessLicense { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :名称
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "名称")]
|
|
[SugarColumn(ColumnName = "shop_name")]
|
|
public string ShopName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :简介
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "简介")]
|
|
[SugarColumn(ColumnName = "shop_intro")]
|
|
public string ShopIntro { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :排序
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "排序")]
|
|
[SugarColumn(ColumnName = "shop_sort")]
|
|
public int ShopSort { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :销售单量
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "销售单量")]
|
|
[SugarColumn(ColumnName = "shop_sales_order_count")]
|
|
public int ShopSalesOrderCount { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :审核状态
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "审核状态")]
|
|
[SugarColumn(ColumnName = "shop_audit_status")]
|
|
public int ShopAuditStatus { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :审核人
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[EpplusTableColumn(Header = "审核人")]
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
[SugarColumn(ColumnName = "shop_audit_user_guid")]
|
|
public long ShopAuditUserGuid { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
} |