using FreeSql.DataAnnotations;
namespace BBWYB.Server.Model.Db
{
///
/// 采购账号表
///
[Table(Name = "purchaseaccount", DisableSyncStructure = true)]
public partial class PurchaseAccount
{
///
/// 主键
///
[Column(StringLength = 50, IsPrimary = true, IsNullable = false)]
public long Id { get; set; }
public string AccountName { get; set; }
public string AppKey { get; set; }
public string AppSecret { get; set; }
public string AppToken { get; set; }
///
/// 创建时间
///
[Column(DbType = "datetime")]
public DateTime CreateTime { get; set; }
///
/// 创建人Id
///
[Column(StringLength = 50)]
public string CreatorId { get; set; }
///
/// 否已删除
///
[Column(DbType = "tinyint(4)")]
public sbyte Deleted { get; set; }
[Column(DbType = "int(1)", MapType = typeof(int?))]
public Enums.Platform? PurchasePlatformId { get; set; }
///
/// 采购账号归属店铺ID
///
[Column(DbType = "bigint(1)")]
public long? ShopId { get; set; }
}
}