using System; using System.Collections.Generic; namespace StopShopping.EF.Models; /// /// 竞标表 /// public partial class Reply { /// /// 主键 /// public int Id { get; set; } /// /// 商品id /// public int ProductId { get; set; } /// /// 数量 /// public int Amount { get; set; } /// /// 价格,自动计算的价格(product.unit_price * amount)之后的优惠价格 /// public decimal Price { get; set; } /// /// 竞标者id /// public int UserId { get; set; } /// /// 回应时间 /// public DateTime ReplyTime { get; set; } /// /// 需求id /// public int RequestId { get; set; } /// /// 留言 /// public string? Memo { get; set; } /// /// 是否已拒绝 /// public bool Rejected { get; set; } public virtual Product Product { get; set; } = null!; public virtual Request Request { get; set; } = null!; public virtual User User { get; set; } = null!; }