namespace AgriculturalPlatform.Api.Models;
/// 农产品品种
public class Product
{
public int Id { get; set; }
/// 品种名称(如:小麦、玉米)
public string Name { get; set; } = string.Empty;
/// 品类(粮食/蔬菜/水果/经济作物/畜禽等)
public string Category { get; set; } = string.Empty;
/// 计量单位(公斤/吨/斤)
public string Unit { get; set; } = "公斤";
/// 规格说明
public string Spec { get; set; } = string.Empty;
/// 参考单价(元/单位)
public decimal Price { get; set; }
public ProductStatus Status { get; set; } = ProductStatus.Active;
public DateTime CreatedAt { get; set; } = DateTime.Now;
}