Files
2026-03-25 14:55:34 +08:00

67 lines
1.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Collections.Generic;
namespace StopShopping.EF.Models;
/// <summary>
/// 用户需求
/// </summary>
public partial class Request
{
/// <summary>
/// 主键
/// </summary>
public int Id { get; set; }
/// <summary>
/// 需求单号,系统唯一,后台生成
/// </summary>
public string SerialNo { get; set; } = null!;
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; } = null!;
/// <summary>
/// 需求描述
/// </summary>
public string? Description { get; set; }
/// <summary>
/// 商品分类id
/// </summary>
public int CategoryId { get; set; }
/// <summary>
/// 状态0-发布1-有竞标2-待发货3-待收货4-已完成5-已评价
/// </summary>
public short Status { get; set; }
/// <summary>
/// 发布者id
/// </summary>
public int PublisherId { get; set; }
/// <summary>
/// 发布时间
/// </summary>
public DateTime PublishTime { get; set; }
/// <summary>
/// 截止日期
/// </summary>
public DateOnly Deadline { get; set; }
/// <summary>
/// 是否已删除
/// </summary>
public bool Deleted { get; set; }
public virtual Category Category { get; set; } = null!;
public virtual User Publisher { get; set; } = null!;
public virtual ICollection<Reply> Replies { get; set; } = new List<Reply>();
}