using Business.Core.Attributes;
using Microsoft.EntityFrameworkCore;
using MongoDB.Bson.Serialization.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Business.Domain
{
///
/// 工序表
///
[CollectionName("dopbase", "mo_mes_process")]
[Comment("工序表")]
public class mo_mes_process : MoBaseEntity
{
/////
///// 工序主键
/////
//[Key]
//[Comment("工序主键")]
//public long proc_id { get; set; }
///
/// 工序名称
///
[Required]
[StringLength(100)]
[Comment("工序名称")]
[BsonRepresentation(MongoDB.Bson.BsonType.String)]
public string? proc_name { get; set; }
///
/// 简述
///
[StringLength(500)]
[Comment("简述")]
[BsonRepresentation(MongoDB.Bson.BsonType.String)]
public string? short_desc { get; set; }
///
/// 详细描述
///
[StringLength(2000)]
[Comment("详细描述")]
[BsonRepresentation(MongoDB.Bson.BsonType.String)]
public string? long_desc { get; set; }
///
/// 组合工序id
///
[StringLength(2000)]
[Comment("组合工序id")]
[BsonRepresentation(MongoDB.Bson.BsonType.String)]
public string? subids { get; set; }
}
}