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
{
///
/// 主键
///
/// 358942162968645
public string Id { get; set; }
///
/// 品名编码
///
/// HJ1
[Required(ErrorMessage = "品名编码不能为空")]
public string GoodsCode { get; set; }
///
/// 品名中文
///
/// 红酒
public string GoodsNameCN { get; set; }
///
/// 品名英文
///
/// wine
public string GoodsNameEN { get; set; }
///
/// 品名描述
///
/// 红酒500ml
public string GoodsDesp { get; set; }
///
/// 品名分类
///
/// 02
public string GoodsCategory { get; set; }
///
/// 品名分类名称
///
/// 红酒
public string GoodsCategoryName { get; set; }
}
public class ParaGoodsShowDto: ParaGoodsDto
{
///
/// 创建时间
///
public DateTime CreateTime { get; set; }
///
/// 更新时间
///
public string UpdateTime { get; set; }
///
/// 创建者Id
///
public long CreateUserId { get; set; }
///
/// 创建者名称
///
public string CreateUserName { get; set; }
///
/// 修改者Id
///
public long UpdateUserId { get; set; }
///
/// 修改者名称
///
public string UpdateUserName { get; set; }
}
}