2011-01-30 07:14:05 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace Tanshu.Accounts.Contracts
|
|
|
|
|
{
|
|
|
|
|
public class SalesAnalysis
|
|
|
|
|
{
|
2011-02-09 12:03:22 +00:00
|
|
|
|
public virtual string GroupType { get; set; }
|
|
|
|
|
public virtual decimal Amount { get; set; }
|
2011-01-30 07:14:05 +00:00
|
|
|
|
}
|
|
|
|
|
|
2016-01-04 05:22:01 +00:00
|
|
|
|
public class TaxAnalysis
|
|
|
|
|
{
|
|
|
|
|
public virtual string Name { get; set; }
|
|
|
|
|
public virtual decimal TaxRate { get; set; }
|
|
|
|
|
public virtual decimal NetSale { get; set; }
|
|
|
|
|
public virtual decimal TaxAmount { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public class SalesAnalysisDetail
|
|
|
|
|
{
|
2016-04-11 07:01:52 +00:00
|
|
|
|
private string _name;
|
|
|
|
|
public Guid ProductID { get; set; }
|
|
|
|
|
public string Name
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return IsHappyHour ? "H H " + _name : _name;
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
_name = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public bool IsHappyHour { get; set; }
|
|
|
|
|
public decimal Sale { get; set; }
|
|
|
|
|
public decimal NC { get; set; }
|
2011-01-30 07:14:05 +00:00
|
|
|
|
}
|
2011-06-23 12:47:48 +00:00
|
|
|
|
public class BillDetail
|
|
|
|
|
{
|
|
|
|
|
public virtual DateTime Date { get; set; }
|
|
|
|
|
public virtual string BillID { get; set; }
|
|
|
|
|
public virtual decimal Amount { get; set; }
|
2014-11-06 10:39:11 +00:00
|
|
|
|
public virtual string Settlement { get; set; }
|
2011-06-23 12:47:48 +00:00
|
|
|
|
}
|
2016-07-04 06:21:39 +00:00
|
|
|
|
public class BeerConsumptionDetail
|
|
|
|
|
{
|
|
|
|
|
public virtual DateTime Date { get; set; }
|
|
|
|
|
public virtual Guid ProductID { get; set; }
|
|
|
|
|
public virtual string Name { get; set; }
|
|
|
|
|
public virtual decimal Quantity { get; set; }
|
|
|
|
|
}
|
2011-01-30 07:14:05 +00:00
|
|
|
|
}
|