using cylsg.Core; using cylsg.Core.Attributes; using SqlSugar; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace cylsg.Model.UserModel { /// /// 用户工人提现明细表 /// [Description("用户工人提现明细表")] [CoderFirst] public class UserTiXianDetail : BaseModel { /// /// 提现明细Id /// [SugarColumn(ColumnDescription = "提现明细Id", IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 用户id /// [SugarColumn(ColumnDescription = "用户id")] public int UserId { get; set; } /// /// 金额 /// [SugarColumn(ColumnDescription = "金额", Length = 18, DecimalDigits = 2, IsNullable = true)] public decimal? YiTiXianJine { get; set; } /// /// 支出还是收入 /// [SugarColumn(ColumnDescription = "支出还是收入")] public int ZhiChuShouRu { get; set; } /// /// 备注 /// [SugarColumn(ColumnDescription = "备注", ColumnDataType = "nvarchar(200)", IsNullable = true)] public string Remark { get; set; } } /// /// 指出还是收入 /// public enum ZhiChuShouRus { /// ///支出 /// zhichu = 0, /// ///收入 /// shouru = 1 } }