USE [MoguExt]
GO

/****** Object:  Table [dbo].[T_User_Achievement]    Script Date: 2022/10/10 11:25:37 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[T_User_Achievement](
	[Id] [int] IDENTITY(1,1) NOT FOR REPLICATION NOT NULL,
	[AchievemenGuid] [nvarchar](64) NULL,
	[BossId] [nvarchar](50) NULL,
	[AppId] [int] NOT NULL,
	[AchievementType] [int] NOT NULL,
	[AchievementName] [nvarchar](200) NULL,
	[SuccessIocn] [int] NOT NULL,
	[ProcessingIocn] [int] NOT NULL,
	[UndoneIocn] [int] NOT NULL,
	[Diamond] [int] NOT NULL,
	[MoguBi] [int] NOT NULL,
	[RestrictedDate] [datetime] NOT NULL,
	[OrderById] [int] NOT NULL,
	[ShowText] [nvarchar](200) NULL,
	[CreateDateTime] [datetime] NOT NULL,
	[UpdateTimeDate] [datetime] NOT NULL,
	[IsEnable] [bit] NOT NULL,
	[BackgroundIocn] [int] NOT NULL,
	[RewardText] [nvarchar](200) NULL,
 CONSTRAINT [PK_T_USER_ACHIEVEMENT] PRIMARY KEY CLUSTERED 
(
	[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'唯一编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement', @level2type=N'COLUMN',@level2name=N'AchievemenGuid'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'渠道号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement', @level2type=N'COLUMN',@level2name=N'BossId'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'app包' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement', @level2type=N'COLUMN',@level2name=N'AppId'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'成就类型，1:玩游戏 2 消耗，3.充值' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement', @level2type=N'COLUMN',@level2name=N'AchievementType'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'成就名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement', @level2type=N'COLUMN',@level2name=N'AchievementName'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'成就完成图片' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement', @level2type=N'COLUMN',@level2name=N'SuccessIocn'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'成就进行中图片' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement', @level2type=N'COLUMN',@level2name=N'ProcessingIocn'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'成就未完成图片' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement', @level2type=N'COLUMN',@level2name=N'UndoneIocn'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'成就奖励钻石' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement', @level2type=N'COLUMN',@level2name=N'Diamond'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'成就奖励蘑菇币' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement', @level2type=N'COLUMN',@level2name=N'MoguBi'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'成就完成限制日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement', @level2type=N'COLUMN',@level2name=N'RestrictedDate'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'顺序，成就完成顺序' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement', @level2type=N'COLUMN',@level2name=N'OrderById'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'显示文案' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement', @level2type=N'COLUMN',@level2name=N'ShowText'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement', @level2type=N'COLUMN',@level2name=N'CreateDateTime'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'修改时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement', @level2type=N'COLUMN',@level2name=N'UpdateTimeDate'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否启用' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement', @level2type=N'COLUMN',@level2name=N'IsEnable'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'成就详情背景图片' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement', @level2type=N'COLUMN',@level2name=N'BackgroundIocn'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'奖励文案' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement', @level2type=N'COLUMN',@level2name=N'RewardText'
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户成就' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'T_User_Achievement'
GO


