You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
2.1 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
public class ParaGoodsDto
{
/// <summary>
/// 主键
/// </summary>
/// <example>358942162968645</example>
public string Id { get; set; }
/// <summary>
/// 品名编码
/// </summary>
/// <example>HJ1</example>
[Required(ErrorMessage = "品名编码不能为空")]
public string GoodsCode { get; set; }
/// <summary>
/// 品名中文
/// </summary>
/// <example>红酒</example>
public string GoodsNameCN { get; set; }
/// <summary>
/// 品名英文
/// </summary>
/// <example>wine</example>
public string GoodsNameEN { get; set; }
/// <summary>
/// 品名描述
/// </summary>
/// <example>红酒500ml</example>
public string GoodsDesp { get; set; }
/// <summary>
/// 品名分类
/// </summary>
/// <example>02</example>
public string GoodsCategory { get; set; }
/// <summary>
/// 品名分类名称
/// </summary>
/// <example>红酒</example>
public string GoodsCategoryName { get; set; }
}
public class ParaGoodsShowDto: ParaGoodsDto
{
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public string UpdateTime { get; set; }
/// <summary>
/// 创建者Id
/// </summary>
public long CreateUserId { get; set; }
/// <summary>
/// 创建者名称
/// </summary>
public string CreateUserName { get; set; }
/// <summary>
/// 修改者Id
/// </summary>
public long UpdateUserId { get; set; }
/// <summary>
/// 修改者名称
/// </summary>
public string UpdateUserName { get; set; }
}
}