using System; using System.Collections.Generic; namespace StopShopping.EF.Models; /// /// 用户需求 /// public partial class Request { /// /// 主键 /// public int Id { get; set; } /// /// 需求单号,系统唯一,后台生成 /// public string SerialNo { get; set; } = null!; /// /// 名称 /// public string Name { get; set; } = null!; /// /// 需求描述 /// public string? Description { get; set; } /// /// 商品分类id /// public int CategoryId { get; set; } /// /// 状态:0-发布,1-有竞标,2-待发货,3-待收货,4-已完成,5-已评价 /// public short Status { get; set; } /// /// 发布者id /// public int PublisherId { get; set; } /// /// 发布时间 /// public DateTime PublishTime { get; set; } /// /// 截止日期 /// public DateOnly Deadline { get; set; } /// /// 是否已删除 /// public bool Deleted { get; set; } public virtual Category Category { get; set; } = null!; public virtual User Publisher { get; set; } = null!; public virtual ICollection Replies { get; set; } = new List(); }