using System; using System.Collections.Generic; using System.Text; namespace Zhaizj.Framework.ORM { /// /// 用于自定义精度数据,也可以存储自定义精度的货币数值。 /// [Serializable, AttributeUsage( AttributeTargets.Property )] public class DecimalAttribute : Attribute { /// /// 数值的精度,即小数点左右的总共位数,但不包括小数点。 /// public int Precision { get; set; } /// /// 小数点右侧的位数 /// public int Scale { get; set; } } }