|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace POSV.Stock
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 经营会计报表
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Serializable]
|
|
|
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
|
|
|
public class StoreCostTicketResponse
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 企业编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "tenantId")]
|
|
|
|
|
public string TenantId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "id")]
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "no")]
|
|
|
|
|
public string No { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 门店ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "storeId")]
|
|
|
|
|
public string StoreId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 门店编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "storeNo")]
|
|
|
|
|
public string StoreNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 门店名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "storeName")]
|
|
|
|
|
public string StoreName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注说明
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "description")]
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单据状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "status")]
|
|
|
|
|
public int Status { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 营业额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "amount")]
|
|
|
|
|
public decimal Amount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 折扣金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "discountAmount")]
|
|
|
|
|
public decimal DiscountAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 餐盒费
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "boxAmount")]
|
|
|
|
|
public decimal BoxAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 员工餐
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "workerAmount")]
|
|
|
|
|
public decimal WorkerAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 汇总日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "summaryDate")]
|
|
|
|
|
public string SummaryDate { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 制单人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "createUser")]
|
|
|
|
|
public string CreateUser { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 制单日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "createDate")]
|
|
|
|
|
public string CreateDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 审核人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "checkPeople")]
|
|
|
|
|
public string CheckPeople { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 审核日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "checkDate")]
|
|
|
|
|
public string CheckDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "ticketCount")]
|
|
|
|
|
public int TicketCount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 客单价
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "peoplePrice")]
|
|
|
|
|
public decimal PeoplePrice { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 纯利润
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "profit")]
|
|
|
|
|
public decimal Profit { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 今日总成本
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "totalCost")]
|
|
|
|
|
public decimal TotalCost { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 成本差额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "difTotalCost")]
|
|
|
|
|
public decimal DifTotalCost { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonIgnore]
|
|
|
|
|
public string StatusName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 应收金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "receivableAmount")]
|
|
|
|
|
public decimal ReceivableAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|