using Forks.EnterpriseServices.DomainObjects2;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ButcherFactory.BO
{
  [KeyField("ID", KeyGenType.identity)]
  public abstract class SyncBill
  {
    public SyncBill()
    {
      CreateTime = DateTime.Now;
    }

    public long ID { get; set; }

    public int? RowIndex { get; set; }

    public int RowVersion { get; set; }

    [DbColumn(DbType = SqlDbType.DateTime)]
    public DateTime CreateTime { get; set; }

    public long UserID { get; set; }

    public bool Sync { get; set; }

    public bool Delete { get; set; }

    public long? ServerID { get; set; }
  }
}
