2025-03-28 09:49:56 +08:00

964 lines
26 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.Collections.Generic;
using System.Runtime.Serialization;
namespace DataTransmission.Model
{
#region
/// <summary>
/// 营收推送汇总数据对象
/// </summary>
public class SummaryRevenueModel
{
/// <summary>
/// 营收汇总数据
/// </summary>
public RevenuePushModel RevenuePushModel { get; set; }
/// <summary>
/// 较昨日增长率
/// </summary>
public decimal GrowthRate { get; set; }
/// <summary>
/// 月度总营业额
/// </summary>
public decimal MonthRevenueAmount { get; set; }
/// <summary>
/// 年度累计营业额
/// </summary>
public decimal YearRevenueAmount { get; set; }
/// <summary>
/// 经营模式分析
/// </summary>
public List<CommonKeyModel> BusinessTypeList { get; set; }
/// <summary>
/// 经营业态分析
/// </summary>
public List<CommonModel> BusinessTradeList { get; set; }
/// <summary>
/// 区域经营分析
/// </summary>
public List<CommonModel> SPRegionList { get; set; }
}
/// <summary>
/// 月度营收汇总数据对象
/// </summary>
public class SummaryRevenueMonthModel
{
/// <summary>
/// 月度营收汇总数据
/// </summary>
public RevenuePushModel MonthRevenueModel { get; set; }
/// <summary>
/// 昨日营收汇总数据
/// </summary>
public RevenuePushModel RevenuePushModel { get; set; }
/// <summary>
/// 较昨日增长率
/// </summary>
public decimal GrowthRate { get; set; }
/// <summary>
/// 经营模式分析<br/>
/// "自营", "外包", "便利店", "餐饮客房", "商铺租赁"<br/>
/// value本月对客销售<br/>
/// data同比对客销售<br/>
/// key环比对客销售
/// </summary>
public List<CommonKeyModel> BusinessTypeList { get; set; }
/// <summary>
/// 经营业态分析
/// </summary>
public List<CommonModel> BusinessTradeList { get; set; }
/// <summary>
/// 区域经营分析
/// </summary>
public List<CommonModel> SPRegionList { get; set; }
}
#endregion
#region
/// <summary>
/// 营收推送数据对象
/// </summary>
public class RevenuePushModel
{
#region Serverpart_ID
System.Int32? _Serverpart_ID = null;
/// <summary>
/// 服务区内码
/// </summary>
[DataMember]
public System.Int32? Serverpart_ID
{
get { return _Serverpart_ID; }
set
{
if (_Serverpart_ID != value)
{
_Serverpart_ID = value;
}
}
}
#endregion
#region Serverpart_Name
System.String _Serverpart_Name = null;
/// <summary>
/// 服务区名称
/// </summary>
[DataMember]
public System.String Serverpart_Name
{
get { return _Serverpart_Name; }
set
{
if (_Serverpart_Name != value)
{
_Serverpart_Name = value;
}
}
}
#endregion
#region SPRegionType_Name
System.String _SPRegionType_Name = null;
/// <summary>
/// 区域名称
/// </summary>
[DataMember]
public System.String SPRegionType_Name
{
get { return _SPRegionType_Name; }
set
{
if (_SPRegionType_Name != value)
{
_SPRegionType_Name = value;
}
}
}
#endregion
#region ShopName
System.String _ShopName = null;
/// <summary>
/// 店名称
/// </summary>
[DataMember]
public System.String ShopName
{
get { return _ShopName; }
set
{
if (_ShopName != value)
{
_ShopName = value;
}
}
}
#endregion
#region ShopRegionName
System.String _ShopRegionName = null;
/// <summary>
/// 店名称
/// </summary>
[DataMember]
public System.String ShopRegionName
{
get { return _ShopRegionName; }
set
{
if (_ShopRegionName != value)
{
_ShopRegionName = value;
}
}
}
#endregion
#region Business_TypeName
System.String _Business_TypeName = null;
/// <summary>
/// 经营模式
/// </summary>
[DataMember]
public System.String Business_TypeName
{
get { return _Business_TypeName; }
set
{
if (_Business_TypeName != value)
{
_Business_TypeName = value;
}
}
}
#endregion
#region BusinessTrade_Name
System.String _BusinessTrade_Name = null;
/// <summary>
/// 经营业态
/// </summary>
[DataMember]
public System.String BusinessTrade_Name
{
get { return _BusinessTrade_Name; }
set
{
if (_BusinessTrade_Name != value)
{
_BusinessTrade_Name = value;
}
}
}
#endregion
#region BusinessBrand_Name
System.String _BusinessBrand_Name = null;
/// <summary>
/// 区域名称
/// </summary>
[DataMember]
public System.String BusinessBrand_Name
{
get { return _BusinessBrand_Name; }
set
{
if (_BusinessBrand_Name != value)
{
_BusinessBrand_Name = value;
}
}
}
#endregion
#region Statistics_Date
System.String _Statistics_Date = null;
/// <summary>
/// 结算日期
/// </summary>
[DataMember]
public System.String Statistics_Date
{
get { return _Statistics_Date; }
set
{
if (_Statistics_Date != value)
{
_Statistics_Date = value;
}
}
}
#endregion
#region TicketCount
System.Int32? _TicketCount = null;
/// <summary>
/// 客单数量
/// </summary>
[DataMember]
public System.Int32? TicketCount
{
get { return _TicketCount; }
set
{
if (_TicketCount != value)
{
_TicketCount = value;
}
}
}
#endregion
#region TotalCount
System.Double? _TotalCount = null;
/// <summary>
/// 总数量
/// </summary>
[DataMember]
public System.Double? TotalCount
{
get { return _TotalCount; }
set
{
if (_TotalCount != value)
{
_TotalCount = value;
}
}
}
#endregion
#region TotalOffAmount
System.Double? _TotalOffAmount = null;
/// <summary>
/// 优惠金额
/// </summary>
[DataMember]
public System.Double? TotalOffAmount
{
get { return _TotalOffAmount; }
set
{
if (_TotalOffAmount != value)
{
_TotalOffAmount = value;
}
}
}
#endregion
#region MobilePayment
System.Double? _MobilePayment = null;
/// <summary>
/// 移动支付金额
/// </summary>
[DataMember]
public System.Double? MobilePayment
{
get { return _MobilePayment; }
set
{
if (_MobilePayment != value)
{
_MobilePayment = value;
}
}
}
#endregion
#region CashPay
System.Double? _CashPay = null;
/// <summary>
/// 实收金额
/// </summary>
[DataMember]
public System.Double? CashPay
{
get { return _CashPay; }
set
{
if (_CashPay != value)
{
_CashPay = value;
}
}
}
#endregion
#region Different_Price_Less
System.Double? _Different_Price_Less = null;
/// <summary>
/// 短款金额
/// </summary>
[DataMember]
public System.Double? Different_Price_Less
{
get { return _Different_Price_Less; }
set
{
if (_Different_Price_Less != value)
{
_Different_Price_Less = value;
}
}
}
#endregion
#region Different_Price_More
System.Double? _Different_Price_More = null;
/// <summary>
/// 长款金额
/// </summary>
[DataMember]
public System.Double? Different_Price_More
{
get { return _Different_Price_More; }
set
{
if (_Different_Price_More != value)
{
_Different_Price_More = value;
}
}
}
#endregion
#region Revenue_Include (01)
System.Int16? _Revenue_Include = null;
/// <summary>
/// 是否纳入营收【每日营收推送中是否展示该门店的营收数据】(01是)
/// </summary>
[DataMember]
public System.Int16? Revenue_Include
{
get { return _Revenue_Include; }
set
{
if (_Revenue_Include != value)
{
_Revenue_Include = value;
}
}
}
#endregion
#region BusinessType
System.Int16? _BusinessType = null;
/// <summary>
/// 业态分类<br/>
/// 1000商超2000小吃3000餐饮4000其他
/// </summary>
[DataMember]
public System.Int16? BusinessType
{
get { return _BusinessType; }
set
{
if (_BusinessType != value)
{
_BusinessType = value;
}
}
}
#endregion
#region Revenue_Upload (01)
System.Int16? _Revenue_Upload = null;
/// <summary>
/// 是否上传营收(01是)
/// </summary>
[DataMember]
public System.Int16? Revenue_Upload
{
get { return _Revenue_Upload; }
set
{
if (_Revenue_Upload != value)
{
_Revenue_Upload = value;
}
}
}
#endregion
#region TotalShopCount
System.Int16? _TotalShopCount = null;
/// <summary>
/// 全省门店数量
/// </summary>
[DataMember]
public System.Int16? TotalShopCount
{
get { return _TotalShopCount; }
set
{
if (_TotalShopCount != value)
{
_TotalShopCount = value;
}
}
}
#endregion
#region RevenueQOQ
System.Double? _RevenueQOQ = null;
/// <summary>
/// 环比营收金额
/// </summary>
[DataMember]
public System.Double? RevenueQOQ
{
get { return _RevenueQOQ; }
set
{
if (_RevenueQOQ != value)
{
_RevenueQOQ = value;
}
}
}
#endregion
#region RevenueYOY
System.Double? _RevenueYOY = null;
/// <summary>
/// 同比营收金额
/// </summary>
[DataMember]
public System.Double? RevenueYOY
{
get { return _RevenueYOY; }
set
{
if (_RevenueYOY != value)
{
_RevenueYOY = value;
}
}
}
#endregion
#region YearRevenueAmount
System.Double? _YearRevenueAmount = null;
/// <summary>
/// 年度累计营收金额
/// </summary>
[DataMember]
public System.Double? YearRevenueAmount
{
get { return _YearRevenueAmount; }
set
{
if (_YearRevenueAmount != value)
{
_YearRevenueAmount = value;
}
}
}
#endregion
#region YearRevenueYOY
System.Double? _YearRevenueYOY = null;
/// <summary>
/// 同比年度累计营收金额
/// </summary>
[DataMember]
public System.Double? YearRevenueYOY
{
get { return _YearRevenueYOY; }
set
{
if (_YearRevenueYOY != value)
{
_YearRevenueYOY = value;
}
}
}
#endregion
/// <summary>
/// 计划营收
/// </summary>
public decimal? BudgetRevenue { get; set; }
/// <summary>
/// 本期应收账款明细
/// </summary>
[DataMember]
public AccountRoyalty CurAccountRoyalty { get; set; }
/// <summary>
/// 环比应收账款明细
/// </summary>
[DataMember]
public AccountRoyalty AccountRoyaltyQOQ { get; set; }
/// <summary>
/// 本年累计营业收入(除税)
/// </summary>
[DataMember]
public decimal YearAccountRoyalty { get; set; }
/// <summary>
/// 同比累计营业收入(除税)
/// </summary>
[DataMember]
public decimal YearAccountRoyaltyYOY { get; set; }
/// <summary>
/// 未上传门店列表
/// </summary>
[DataMember]
public List<UnUpLoadShopModel> UnUpLoadShopList { get; set; }
}
#endregion
#region
/// <summary>
/// 应收账款相关类
/// </summary>
public class AccountRoyalty
{
#region Royalty_Price
System.Decimal? _Royalty_Price = null;
/// <summary>
/// 业主到账
/// </summary>
[DataMember]
public System.Decimal? Royalty_Price
{
get { return _Royalty_Price; }
set
{
if (_Royalty_Price != value)
{
_Royalty_Price = value;
}
}
}
#endregion
#region SubRoyalty_Price
System.Decimal? _SubRoyalty_Price = null;
/// <summary>
/// 商家到账
/// </summary>
[DataMember]
public System.Decimal? SubRoyalty_Price
{
get { return _SubRoyalty_Price; }
set
{
if (_SubRoyalty_Price != value)
{
_SubRoyalty_Price = value;
}
}
}
#endregion
#region Royalty_Theory
System.Decimal? _Royalty_Theory = null;
/// <summary>
/// 累计业主入账
/// </summary>
[DataMember]
public System.Decimal? Royalty_Theory
{
get { return _Royalty_Theory; }
set
{
if (_Royalty_Theory != value)
{
_Royalty_Theory = value;
}
}
}
#endregion
#region SubRoyalty_Theory
System.Decimal? _SubRoyalty_Theory = null;
/// <summary>
/// 累计商家入账
/// </summary>
[DataMember]
public System.Decimal? SubRoyalty_Theory
{
get { return _SubRoyalty_Theory; }
set
{
if (_SubRoyalty_Theory != value)
{
_SubRoyalty_Theory = value;
}
}
}
#endregion
}
#endregion
#region
/// <summary>
/// 未上传营收门店相关类
/// </summary>
public class UnUpLoadShopModel
{
#region Statistics_Date
System.String _Statistics_Date = null;
/// <summary>
/// 统计日期
/// </summary>
[DataMember]
public System.String Statistics_Date
{
get { return _Statistics_Date; }
set
{
if (_Statistics_Date != value)
{
_Statistics_Date = value;
}
}
}
#endregion
#region Serverpart_ID
System.Int32? _Serverpart_ID = null;
/// <summary>
/// 服务区内码
/// </summary>
[DataMember]
public System.Int32? Serverpart_ID
{
get { return _Serverpart_ID; }
set
{
if (_Serverpart_ID != value)
{
_Serverpart_ID = value;
}
}
}
#endregion
#region Serverpart_Name
System.String _Serverpart_Name = null;
/// <summary>
/// 服务区名称
/// </summary>
[DataMember]
public System.String Serverpart_Name
{
get { return _Serverpart_Name; }
set
{
if (_Serverpart_Name != value)
{
_Serverpart_Name = value;
}
}
}
#endregion
#region ServerpartShop_ID
System.Int32? _ServerpartShop_ID = null;
/// <summary>
/// 门店内码
/// </summary>
[DataMember]
public System.Int32? ServerpartShop_ID
{
get { return _ServerpartShop_ID; }
set
{
if (_ServerpartShop_ID != value)
{
_ServerpartShop_ID = value;
}
}
}
#endregion
#region ServerpartShop_Name
System.String _ServerpartShop_Name = null;
/// <summary>
/// 门店名称
/// </summary>
[DataMember]
public System.String ServerpartShop_Name
{
get { return _ServerpartShop_Name; }
set
{
if (_ServerpartShop_Name != value)
{
_ServerpartShop_Name = value;
}
}
}
#endregion
}
#endregion
#region
/// <summary>
/// 营收推送门店结账清单相关类
/// </summary>
public class ShopEndaccountModel
{
/// <summary>
/// 统计日期
/// </summary>
public string ENDACCOUNT_DATE { get; set; }
/// <summary>
/// 服务区内码
/// </summary>
public int SERVERPART_ID { get; set; }
/// <summary>
/// 服务区名称
/// </summary>
public string SERVERPART_NAME { get; set; }
/// <summary>
/// 门店内码
/// </summary>
public int SERVERPARTSHOP_ID { get; set; }
/// <summary>
/// 门店名称
/// </summary>
public string SHOPNAME { get; set; }
/// <summary>
/// 经营模式代码1000自营2000合作经营3000固定租金4000展销
/// </summary>
public int BUSINESS_TYPE { get; set; }
/// <summary>
/// 经营模式名称
/// </summary>
public string BUSINESS_TYPENAME { get; set; }
/// <summary>
/// 显示长款标识【0隐藏1显示长款2显示异常长款】
/// </summary>
public int SHOWMORE_SIGN { get; set; }
/// <summary>
/// 显示短款标识【0隐藏1显示短款2显示异常短款】
/// </summary>
public int SHOWLESS_SIGN { get; set; }
/// <summary>
/// 显示异常日结标识【0隐藏1显示】
/// </summary>
public int SHOWABNORMAL_SIGN { get; set; }
/// <summary>
/// 显示扫码上传标识【0隐藏1显示】
/// </summary>
public int SHOWSCAN_SIGN { get; set; }
/// <summary>
/// 显示账期补录标识【0隐藏1显示】
/// </summary>
public int SHOWSSUPPLY_SIGN { get; set; }
/// <summary>
/// 显示稽核检查标识【0隐藏1显示】
/// </summary>
public int SHOWCHECK_SIGN { get; set; }
/// <summary>
/// 显示是否完成日结校验标识【0隐藏1显示】
/// </summary>
public int SHOWDEAL_SIGN { get; set; }
/// <summary>
/// 无结账数据标识【0显示无数据校验1显示营收金额】
/// </summary>
public int UNACCOUNT_SIGN { get; set; }
/// <summary>
/// 显示接口传输标识【0隐藏1显示】
/// </summary>
public int INTERFACE_SIGN { get; set; }
/// <summary>
/// 实收金额
/// </summary>
public decimal CASHPAY_TOTAL { get; set; }
/// <summary>
/// 门店结账数据列表
/// </summary>
public List<WPDShopEndAccountList> ShopEndAccountList { get; set; }
}
/// <summary>
/// 门店结账数据详情相关类
/// </summary>
public class WPDShopEndAccountList
{
/// <summary>
/// 传输方式【0正常1扫码上传2人工补录】
/// </summary>
public decimal TRANSFER_TYPE { get; set; }
/// <summary>
/// 账期开始时间
/// </summary>
public string ENDACCOUNT_STARTDATE { get; set; }
/// <summary>
/// 账期结束时间
/// </summary>
public string ENDACCOUNT_DATE { get; set; }
/// <summary>
/// 校验人员
/// </summary>
public string DESCRIPTION_STAFF { get; set; }
/// <summary>
/// 校验原因
/// </summary>
public string DIFFERENCE_REASON { get; set; }
/// <summary>
/// 校验时间
/// </summary>
public string DESCRIPTION_DATE { get; set; }
/// <summary>
/// 财务审核人员
/// </summary>
public string APPROVE_STAFF { get; set; }
/// <summary>
/// 财务审核原因
/// </summary>
public string APPROVED_INFO { get; set; }
/// <summary>
/// 财务审核时间
/// </summary>
public string APPROVE_DATE { get; set; }
/// <summary>
/// 单品营收(有数据则表示已校验,否则未校验)
/// </summary>
public decimal? FACTAMOUNT_SALE { get; set; }
/// <summary>
/// 香烟营收(有数据则表示已校验,否则未校验)
/// </summary>
public decimal? FACTAMOUNT_CIGARETTE { get; set; }
/// <summary>
/// 稽核次数
/// </summary>
public decimal CHECK_COUNT { get; set; }
/// <summary>
/// 长短款金额
/// </summary>
public decimal DIFFERENT_PRICE { get; set; }
/// <summary>
/// 缴款金额
/// </summary>
public decimal CASHPAY_DOWNLORD { get; set; }
/// <summary>
/// 移动支付金额
/// </summary>
public decimal MOBILEPAYMENT { get; set; }
/// <summary>
/// 现金金额
/// </summary>
public decimal CASH { get; set; }
/// <summary>
/// 实收金额
/// </summary>
public decimal CASHPAY { get; set; }
}
#endregion
#region
/// <summary>
/// 营收推送单品详情
/// </summary>
public class WechatPushSalesModel
{
/// <summary>
/// 数据类型1000商超类2000餐饮类3000小吃类
/// </summary>
public decimal Data_Type { get; set; }
/// <summary>
/// 记录总数
/// </summary>
public decimal TotalCount { get; set; }
/// <summary>
/// 单品数据列表
/// </summary>
public List<WPSSalesModel> GoodsList { get; set; }
}
/// <summary>
/// 营收推送单品数据列表
/// </summary>
public class WPSSalesModel
{
/// <summary>
/// 销量排名
/// </summary>
public decimal Rank_ID { get; set; }
/// <summary>
/// 商品名称
/// </summary>
public string Commodity_Name { get; set; }
/// <summary>
/// 销售金额
/// </summary>
public decimal TotalPrice { get; set; }
/// <summary>
/// 销售数量
/// </summary>
public decimal SellCount { get; set; }
}
#endregion
}