Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Core/Entities/OA/PointsGoods/PointsGoods.cs

71 lines
1.9 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;
using System.Linq;
using SqlSugar;
namespace LearningOfficer.OA.Core.Entities.OA.PointsGoods
{
/// <summary>
/// 积分商品表
///</summary>
[SugarTable("points_goods")]
public class PointsGoods : BaseEntity
{
/// <summary>
/// 备 注:商品名称
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "goods_name")]
public string GoodsName { get; set; } = null!;
/// <summary>
/// 备 注:市场价值
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "goods_money")]
public decimal GoodsMoney { get; set; }
/// <summary>
/// 备 注:库存
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "goods_count")]
public int GoodsCount { get; set; }
/// <summary>
/// 备 注:所需积分(价格)
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "goods_points_count")]
public int GoodsPointsCount { get; set; }
/// <summary>
/// 备 注:状态默认0下架、1上架
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "goods_status")]
public int GoodsStatus { get; set; }
/// <summary>
/// 备 注:添加时间
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "add_time")]
public DateTime AddTime { get; set; }
/// <summary>
/// 备 注:最后一次修改时间
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "update_time")]
public DateTime UpdateTime { get; set; }
/// <summary>
/// 备 注:是否删除(0否1是)
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "isdel")]
public int IsDel { get; set; }
}
}