You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
541 B
22 lines
541 B
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Win_in.Sfs.Shared.Domain.Shared;
|
|
|
|
namespace Win_in.Sfs.Shared.Domain;
|
|
|
|
public interface IHasQty
|
|
{
|
|
/// <summary>
|
|
/// 计量单位
|
|
/// </summary>
|
|
[Display(Name = "计量单位")]
|
|
[MaxLength(SfsPropertyConst.CodeLength)]
|
|
public string Uom { get; set; }
|
|
|
|
/// <summary>
|
|
/// 数量
|
|
/// </summary>
|
|
[Display(Name = "数量")]
|
|
[Column(TypeName = "decimal(18,6)")]
|
|
public decimal Qty { get; set; }
|
|
}
|
|
|