Model/GoodsInfo.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using GoodsProject.DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace GoodsProject.Model
{
public class GoodsInfo
{
public string ID { get; set; }
public string Name { get; set; }
public string Image { get; set; }
public string BrandID { get; set; }
public string BrandName { get; set; }
public Double? Counts { get; set; }
/// <summary>
/// 成本
/// </summary>
public Double? CostMoney { get; set; }
/// <summary>
/// 卖出金额
/// </summary>
public Double? SoldMoney { get; set; }
/// <summary>
/// 盈利 (卖出金额 - 成本)
/// </summary>
public Double? ProfitMoney
{
get
{
return Convert.ToDouble(SoldMoney) - Convert.ToDouble(CostMoney);
}
set { return; }
}
public string Remarks { get; set; }
public string CreateUser { get; set; }
public string CreateUserName { get; set; }
public DateTime? CreateDate { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public string strCreateDate
{
get
{
if (CreateDate != null)
{
return CreateDate.Value.ToString("yyyy-MM-dd HH:mm");
}
else
{
return "";
}
}
set { return; }
}
GoodsDAL dal = new GoodsDAL();
public Double? strInGoods
后面还有 17 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。