|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using NPoco;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace POSV.Entity
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 营业日方案班次
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Serializable]
|
|
|
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
|
|
|
[TableName("pos_business_plan_log")]
|
|
|
|
|
[PrimaryKey(new string[] { "id" }, AutoIncrement = false)]
|
|
|
|
|
public class BusinessPlanLog : BaseEntity
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public BusinessPlanLog()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租户编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "tenantId")]
|
|
|
|
|
[Column("tenantId")]
|
|
|
|
|
public string TenantId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态 0未交班1已交班
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "status")]
|
|
|
|
|
[Column("status")]
|
|
|
|
|
public int Status { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 门店ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "storeId")]
|
|
|
|
|
[Column("storeId")]
|
|
|
|
|
public string StoreId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 门店编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "storeNo")]
|
|
|
|
|
[Column("storeNo")]
|
|
|
|
|
public string StoreNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收银员ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "workerId")]
|
|
|
|
|
[Column("workerId")]
|
|
|
|
|
public string WorkerId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收银员编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "workerNo")]
|
|
|
|
|
[Column("workerNo")]
|
|
|
|
|
public string WorkerNo { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收银员姓名
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "workerName")]
|
|
|
|
|
[Column("workerName")]
|
|
|
|
|
public string WorkerName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///班次ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "planId")]
|
|
|
|
|
[Column("planId")]
|
|
|
|
|
public string PlanId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 班次编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "no")]
|
|
|
|
|
[Column("no")]
|
|
|
|
|
public string No { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 班次名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "name")]
|
|
|
|
|
[Column("name")]
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 班次开始时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "starTime")]
|
|
|
|
|
[Column("starTime")]
|
|
|
|
|
public string StarTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 班次结束时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "endTime")]
|
|
|
|
|
[Column("endTime")]
|
|
|
|
|
public string EndTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// pos编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "posNo")]
|
|
|
|
|
[Column("posNo")]
|
|
|
|
|
public string PosNo { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 登录时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "loginTime")]
|
|
|
|
|
[Column("loginTime")]
|
|
|
|
|
public string LoginTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 交班时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "shiftTime")]
|
|
|
|
|
[Column("shiftTime")]
|
|
|
|
|
public string ShiftTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否当前登陆员工0否1是
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "isLogin")]
|
|
|
|
|
[Column("isLogin")]
|
|
|
|
|
public int IsLogin { get; set; }
|
|
|
|
|
|
|
|
|
|
//班次备用金
|
|
|
|
|
[JsonProperty(PropertyName = "imprest")]
|
|
|
|
|
[Column("imprest")]
|
|
|
|
|
public decimal Imprest { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|