一、创建Model层

  2、设计Web Api分层架构

using System;

namespace SCM.API.MODEL
{
    public partial class USR_MSTR
    {
        public string USR_USER { get; set; }
        public string USR_NAME { get; set; }
        public string USR_GROUP { get; set; }
        public string USR_DEPT { get; set; }
        public string USR_PASSWORD { get; set; }
        public string USR_LIB_PATH { get; set; }
        public string USR_DEF_SITE { get; set; }
        public Nullable<int> USR_WARNING_CIRCLE { get; set; }
        public Nullable<short> USR_EMPLOYEE { get; set; }
        public Nullable<short> USR_LOCK { get; set; }
        public Nullable<short> USR_OUT { get; set; }
        public string USR_AGENT { get; set; }
        public string USR_ALLOW_IP { get; set; }
        public string USR_CRT_BY { get; set; }
        public Nullable<System.DateTime> USR_CRT_DATE { get; set; }
        public string USR_POSITION { get; set; }
        public string USR_MOBILE { get; set; }
        public string USR_BQQ { get; set; }
        public string USR_VIEW_SITES { get; set; }
        public string USR_RMKS { get; set; }
        public string USR_CHAR1 { get; set; }
        public string USR_CHAR2 { get; set; }
        public string USR_CHAR3 { get; set; }
        public string USR_CHAR4 { get; set; }
        public string USR_CHAR5 { get; set; }
        public string USR_CHAR6 { get; set; }
        public Nullable<decimal> USR_QTY1 { get; set; }
        public Nullable<decimal> USR_QTY2 { get; set; }
    }
}
View Code

相关文章: