qinchulong
2025-03-29 039a4a5433e7f80adc88b491b549e5d9486e4f9a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
 
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Entity.SystemModels;
 
namespace WIDESEA_Entity.DomainModels
{
    [Entity(TableCnName = "卷绕出库绑定信息", TableName = "JROutBind")]
    public class JROutBind : BaseEntity
    {
 
        /// <summary>
        ///主键
        /// </summary>
        [Key]
        [Display(Name = "主键")]
        [Column(TypeName = "uniqueidentifier")]
        [Required(AllowEmptyStrings = false)]
        public Guid outbind_id { get; set; }
 
        /// <summary>
        ///最后的任务号
        /// </summary>
        [Display(Name = "任务号")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Required(AllowEmptyStrings = false)]
        public string taskid { get; set; }
 
        /// <summary>
        ///物料类型
        /// </summary>
        [Display(Name = "物料类型")]
        [MaxLength(60)]
        [Column(TypeName = "nvarchar(60)")]
        public string materialtype { get; set; }
 
        /// <summary>
        ///物料条码
        /// </summary>
        [Display(Name = "物料条码")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string barcode { get; set; }
 
        /// <summary>
        ///起点编码
        /// </summary>
        [Display(Name = "起点编码")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string Devid { get; set; }
 
 
        /// <summary>
        ///数量
        /// </summary>
        [Display(Name = "数量")]
        [Column(TypeName = "int")]
        [Required(AllowEmptyStrings = false)]
        public int sum { get; set; }
 
        /// <summary>
        ///物料条码
        /// </summary>
        [Display(Name = "物料条码")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        public string barcodes { get; set; }
 
        /// <summary>
        /// 料卷size
        /// </summary>
        public string size { get; set; }
 
        /// <summary>
        /// 使用到第几卷料
        /// </summary>
        [NotMapped]
        public int useNum { get; set; } = 0;
    }
}