71 lines
1.9 KiB
C#
71 lines
1.9 KiB
C#
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; }
|
||
}
|
||
|
||
} |